generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Rotating a player?

Previous Thread :: Next Thread 
haydebug2003 is not online. haydebug2003
Joined: 21 Jan 2012
Total Posts: 5302
10 Jan 2016 06:10 PM
How do I rotate a player?


r+://300272530r+://300272518r+://300272510
Report Abuse
AdvancedObjects is not online. AdvancedObjects
Joined: 11 Dec 2012
Total Posts: 3354
10 Jan 2016 06:12 PM
while wait() do
torso.CFrame = torso.CFrame * CFrame.Angles(0, 1, 0)
end



#Code print("Song Link: http://www.roblox.com/Deorro-vs-Swedish-House-Mafia-Save-The-5-Hours-item?id=340827217")
Report Abuse
haydebug2003 is not online. haydebug2003
Joined: 21 Jan 2012
Total Posts: 5302
10 Jan 2016 06:51 PM
Why doesnt this work?


#code game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0, 180, 0)


r+://300272530r+://300272518r+://300272510
Report Abuse
haydebug2003 is not online. haydebug2003
Joined: 21 Jan 2012
Total Posts: 5302
10 Jan 2016 06:54 PM
#Code game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0, 180, 0)


r+://300272530r+://300272518r+://300272510
Report Abuse
haydebug2003 is not online. haydebug2003
Joined: 21 Jan 2012
Total Posts: 5302
10 Jan 2016 07:19 PM
bump


r+://300272530r+://300272518r+://300272510
Report Abuse
haydebug2003 is not online. haydebug2003
Joined: 21 Jan 2012
Total Posts: 5302
10 Jan 2016 07:28 PM
help please


r+://300272530r+://300272518r+://300272510
Report Abuse
haydebug2003 is not online. haydebug2003
Joined: 21 Jan 2012
Total Posts: 5302
10 Jan 2016 07:35 PM
Is it seriously this hard to rotate a character?


r+://300272530r+://300272518r+://300272510
Report Abuse
haydebug2003 is not online. haydebug2003
Joined: 21 Jan 2012
Total Posts: 5302
10 Jan 2016 07:45 PM
HELP


r+://300272530r+://300272518r+://300272510
Report Abuse
BanTech is not online. BanTech
Joined: 31 Dec 2015
Total Posts: 886
10 Jan 2016 07:47 PM
Needs to be in localscript inside of the player's PlayerGui or another local space if it isn't already
Report Abuse
haydebug2003 is not online. haydebug2003
Joined: 21 Jan 2012
Total Posts: 5302
10 Jan 2016 07:48 PM
It is


r+://300272530r+://300272518r+://300272510
Report Abuse
BanTech is not online. BanTech
Joined: 31 Dec 2015
Total Posts: 886
10 Jan 2016 07:50 PM
Convert to radians also. 180 radians is a huge turn and might even return you to the same direction. I think you wanted 180° which is math.rad(180) for the radian equivalent
Report Abuse
gangman67 is not online. gangman67
Joined: 04 Jun 2011
Total Posts: 798
10 Jan 2016 07:51 PM
game.Players.LocalPlayer.Character.Torso.CFrame * CFrame.Angles(0, math.rad(180), 0)
Report Abuse
getSolution3 is not online. getSolution3
Joined: 28 Aug 2010
Total Posts: 1132
10 Jan 2016 08:46 PM
Torso.CFrame = Torso.CFrame *CFrame.fromAxisAngle(Vector3.new(0,1,0),math.pi)


Report Abuse
rvox is not online. rvox
Joined: 18 Feb 2011
Total Posts: 5380
10 Jan 2016 08:51 PM
ha noob

torso.CFrame = torso.CFrame*CFrame.new(0,0,0,0,1,0,0)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image