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: Rotational Script help needed

Previous Thread :: Next Thread 
L0g6n2064 is not online. L0g6n2064
Joined: 31 May 2010
Total Posts: 10
24 Nov 2014 11:54 PM
I'm looking for a script that will rotate my block/model from starting direction (0,0,0) then slowly to a Rotation of (0,45,0) then go opposite directions to (0,-45,0) and back to center direction (0,0,0). I have been trying at this script for quite a long time and i'm a new scripter any help or a script would be greatly appreciated. Thank you.
Report Abuse
BowtieMod is not online. BowtieMod
Joined: 01 Apr 2013
Total Posts: 804
25 Nov 2014 12:03 AM
Wiki is friend

http://wiki.roblox.com/index.php?title=Cframe#Rotating_bricks
Report Abuse
L0g6n2064 is not online. L0g6n2064
Joined: 31 May 2010
Total Posts: 10
25 Nov 2014 06:43 AM
I have tried reading that whole thing and while i kind of understand the concept i cant get it to change directions after making it to (0,45,0)
Report Abuse
CobyGresham is not online. CobyGresham
Joined: 20 Nov 2014
Total Posts: 14
25 Nov 2014 09:30 AM
i = 45
pointpos = Vector3.new(0,45,0)
repeat
Pointer.CFrame = (Pointer.Position , Pointpos/i)
i = i -1
until i == 0
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
25 Nov 2014 09:41 AM
I don't think that works, Coby.
Report Abuse
CobyGresham is not online. CobyGresham
Joined: 20 Nov 2014
Total Posts: 14
25 Nov 2014 09:47 AM
Oh yeah...
Oh well, comment redacted.
Report Abuse
HexC3D is not online. HexC3D
Joined: 30 Jun 2012
Total Posts: 10044
25 Nov 2014 09:51 AM
Are you looking to translate the whole model?
Report Abuse
L0g6n2064 is not online. L0g6n2064
Joined: 31 May 2010
Total Posts: 10
25 Nov 2014 04:31 PM
no im looking to have it to wear the back center of the part is the rotation point and it rotates on that axis so it will be looking forward as its rotating
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