|
| 10 Jul 2013 03:02 AM |
I have this:
ch = game.Workspace.onetimeaccount123 while true do wait() ch.Torso.CFrame = CFrame.new(ch.Torso.Position.X,ch.Torso.Position.Y,ch.Torso.Position.Z)*CFrame.Angles(0,math.pi*1.5,0) end
and it keeps me facing a direction but it won't let me move properly. Is there anyway that I can JUST keep the angle? |
|
|
| Report Abuse |
|
|
|
| 10 Jul 2013 04:03 AM |
use a bodygyro
ch = workspace.onetimeaccount123 local bg = Instance.new("BodyGyro", ch.Torso) bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
while wait() do bg.cframe = CFrame.new(ch.Torso.CFrame.p)*CFrame.Angles(0, math.pi*1.5, 0) end |
|
|
| Report Abuse |
|
|
|
| 10 Jul 2013 05:37 AM |
| Problem is that's permanent, until you die at least. I probably should have mentioned that I'd like to be able to change the angle at some point |
|
|
| Report Abuse |
|
|
|
| 10 Jul 2013 05:48 AM |
| Problem is that's permanent, until you die at least. I probably should have mentioned that I'd like to be able to change the angle at some point |
|
|
| Report Abuse |
|
|
DrWaffler
|
  |
| Joined: 16 Sep 2011 |
| Total Posts: 4248 |
|
|
| 10 Jul 2013 05:49 AM |
| It isn't permanent, just delete the Gyro when you no longer need it. |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2013 11:15 AM |
| That allows you to move freely. I need to eventually change the angle so that their fixed in a different direction. This eventually ends up not working for me |
|
|
| Report Abuse |
|
|