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 » Scripting Helpers
Home Search
 

Re: Can you rotate a model via script?

Previous Thread :: Next Thread 
thermonuklear is not online. thermonuklear
Joined: 19 Oct 2014
Total Posts: 484
27 Oct 2014 01:59 PM
^
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
27 Oct 2014 02:05 PM
Yep.
Report Abuse
SirNoobly is not online. SirNoobly
Joined: 01 Oct 2009
Total Posts: 253
27 Oct 2014 02:08 PM
http://wiki.roblox.com/index.php?title=API:Class/Model/SetPrimaryPartCFrame
Report Abuse
thermonuklear is not online. thermonuklear
Joined: 19 Oct 2014
Total Posts: 484
27 Oct 2014 02:15 PM
Thank you.
And for anyone who would like to see what I'm doing:
http://www.roblox.com/Mining-Tycoon-place?id=184331295
:)
Report Abuse
thermonuklear is not online. thermonuklear
Joined: 19 Oct 2014
Total Posts: 484
27 Oct 2014 02:48 PM
Model = script.Parent
Model.PrimaryPart = Model.Rotate


repeat
for i = 1, 15 do
wait()
Model:SetPrimaryPartCFrame(Model.PrimaryPart.CFrame * CFrame.Angles(-0.01, 0, 0))
end
until
script.Parent.Rotate.Rotation == Vector3.new(-90, 180, 0)

This doesn't seem to be working.
(I'm not the most competent scripter. qq)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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