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: How to make a basic part spinning script/CFrame

Previous Thread :: Next Thread 
Xelia4 is not online. Xelia4
Joined: 19 Jul 2012
Total Posts: 512
01 Oct 2013 04:18 PM
I'm going to be using a spinning part (much like a part on a motor hinge) to simulate spinning smoke, except i'd prefer to use basic CFraming so that the part will rotate in a circle to an infinite.

i'm not much of a scripter, i know a few simple stuff, but i should be able to figure out what i'm told.
Report Abuse
stickmanx25 is not online. stickmanx25
Joined: 17 Aug 2007
Total Posts: 5829
01 Oct 2013 04:20 PM
while true do
script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0)
wait()
end
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
01 Oct 2013 04:27 PM
What do you mean by "rotate in a circle to an infinite"?
Report Abuse
Xelia4 is not online. Xelia4
Joined: 19 Jul 2012
Total Posts: 512
01 Oct 2013 04:31 PM
Rotate infinite times; never stop.

And thank you stick, that works perfectly as i need it too.
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