|
| 18 Mar 2013 03:59 PM |
| Is there a way to make a humanoid walk one way while facing another, like when you are in first person? |
|
|
| Report Abuse |
|
|
Flash77
|
  |
| Joined: 14 Jun 2008 |
| Total Posts: 550 |
|
|
| 18 Mar 2013 04:13 PM |
You could try making the player's camera to be the players head instead, then using a hopper bin to get when the player is trying to walk, and if so using Humanoid:MoveTo(Torso.Position + Direction you want to walk) to get that character to walk like that.
Probably overly complicated way to do that, but it is the first way i came up with :/ |
|
|
| Report Abuse |
|
|
|
| 18 Mar 2013 04:25 PM |
| A humanoid, NOT a player specifically |
|
|
| Report Abuse |
|
|
| |
|
|
| 18 Mar 2013 05:07 PM |
| Use BodyGyro placed in body. |
|
|
| Report Abuse |
|
|
|
| 18 Mar 2013 05:08 PM |
| That's what I've been doing. but it causes the humanoid to occasionally wobble everywhere and eventually fall down |
|
|
| Report Abuse |
|
|
|
| 18 Mar 2013 05:18 PM |
Ah. Just to get rid of that wobble, I've learned rotation matrix. I needed it for my perspective place.
pos = --look at(CFrame) x,y,z,xx,xy,xz,yx,yy,yz,zx,zy,zz = pos:components()
gyro.cframe = CFrame.new(x,y,z, xx,0,xz, yx,yy,0, zx,0,zz)
Hope it works. |
|
|
| Report Abuse |
|
|
| |
|