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: Making a brick spin around 360 degrees

Previous Thread :: Next Thread 
07lchris is not online. 07lchris
Joined: 28 Feb 2010
Total Posts: 1603
14 Oct 2011 03:32 PM
How? This is what I have so far, but I really dont seem to get the whole radians thing.

for i = 0,360,1 do wait(0.1)
Grip.C0 = Grip.C0 * CFrame.Angles(0,0,math.rad(i))
end
Report Abuse
crazypotato4 is not online. crazypotato4
Joined: 22 Feb 2010
Total Posts: 20000
14 Oct 2011 03:34 PM
So wait, does this work, and you're just asking about radians? Radians are basically just a different unit of measurement for circles. Pi radians = 180 degrees.
Report Abuse
07lchris is not online. 07lchris
Joined: 28 Feb 2010
Total Posts: 1603
14 Oct 2011 03:35 PM
That's what I don't get. If I want a brick for spin 360, how many radians is it?

I would be looking for some sort of function to automatically do this.
Report Abuse
crazypotato4 is not online. crazypotato4
Joined: 22 Feb 2010
Total Posts: 20000
14 Oct 2011 03:38 PM
2pi radians = 360 degrees :l

What do you mean by a function to automatically do this? Like, something that will rotate a brick in a circle for you? I don't think you can do that with just CFrame, you have to do it manually.
Report Abuse
07lchris is not online. 07lchris
Joined: 28 Feb 2010
Total Posts: 1603
14 Oct 2011 03:55 PM
That still doesn't help me get it automatically. :L
Report Abuse
07lchris is not online. 07lchris
Joined: 28 Feb 2010
Total Posts: 1603
14 Oct 2011 03:58 PM
Never mind. I got it sorted. :) Thanks for the help.
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