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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 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 |
|
|
|
| 25 Nov 2014 09:41 AM |
| I don't think that works, Coby. |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2014 09:47 AM |
Oh yeah... Oh well, comment redacted. |
|
|
| Report Abuse |
|
|
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
|
  |
| 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 |
|
|