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
 

Rotating a model HELP

Previous Thread :: Next Thread 
Bylocks is not online. Bylocks
Joined: 27 Mar 2012
Total Posts: 773
30 Apr 2017 06:57 PM
How would you rotate a model?
Report Abuse
Bylocks is not online. Bylocks
Joined: 27 Mar 2012
Total Posts: 773
30 Apr 2017 06:57 PM
via script
Report Abuse
MrUnknownWoman is online. MrUnknownWoman
Joined: 08 Jan 2017
Total Posts: 98
30 Apr 2017 07:16 PM
You have to be kidding...


Report Abuse
JoshRBX is not online. JoshRBX
Joined: 19 May 2012
Total Posts: 8778
30 Apr 2017 08:03 PM
.Rotation = .(Rotation + x) % 360
Report Abuse
Bylocks is not online. Bylocks
Joined: 27 Mar 2012
Total Posts: 773
30 Apr 2017 10:52 PM
Rotation isnt a member of model though
Report Abuse
gum444 is not online. gum444
Joined: 06 May 2011
Total Posts: 549
30 Apr 2017 11:00 PM
you need to rotate off of a primate part in the model, so make a primary part, for the rotation, it's like this:

model.PrimaryPart.CFrame = CFrame.new(model.PrimaryPart.CFrame) * CFrame.Angles(0,0,0)

change the Angles to waht you want
Report Abuse
gum444 is not online. gum444
Joined: 06 May 2011
Total Posts: 549
30 Apr 2017 11:00 PM
woops not primate, primary
Report Abuse
LegomasterNiko is not online. LegomasterNiko
Joined: 27 Feb 2013
Total Posts: 1176
30 Apr 2017 11:15 PM
I have a script for this...
Report Abuse
LegomasterNiko is not online. LegomasterNiko
Joined: 27 Feb 2013
Total Posts: 1176
30 Apr 2017 11:28 PM
while true do
script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,0.1,0)
wait (0.1) --Change how fast you want the moodel to rotate
end
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