|
| 14 Mar 2015 05:52 PM |
Any time I do something such as this:
thing.Position = Vector3.new(thing.Position.X + 1, thing.Positon.Y, thing.Position.Z)
It moves it along the global X axis rather than its own
Any different way to do it that works? |
|
|
| Report Abuse |
|
|
|
| 14 Mar 2015 05:54 PM |
Use CFrames, unless you want to do all the math yourself.
Part.CFrame = Part.CFrame * CFrame.new(LocalX, LocalY, LocalZ) |
|
|
| Report Abuse |
|
|
| |
|
|
| 14 Mar 2015 05:59 PM |
Oh nevermind
I was still using Vector3 when I wrote that out and edited it to test it
Thanks |
|
|
| Report Abuse |
|
|