Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Move the Player and Vomit
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#2
RE: Move the Player and Vomit

Typing is wrong.

void AddPlayerBodyForce(float afX, float afY, float afZ, bool abUseLocalCoords);

Pushes the player into a certain direction. Note that you need values above ~2000 to see any effects.

afX - amount along the X-axis
afY - amount along the Y-axis
afZ - amount along the Z-axis
abUseLocalCoords - If true, axes are based on where the player is facing, not the world.


Also, use 6000 or more to move player and do not use local coordinates.

(This post was last modified: 07-28-2011, 07:22 AM by Tanshaydar.)
07-28-2011, 07:21 AM
Website Find


Messages In This Thread
Move the Player and Vomit - by convolution223 - 07-28-2011, 05:53 AM
RE: Move the Player and Vomit - by Tanshaydar - 07-28-2011, 07:21 AM
RE: Move the Player and Vomit - by convolution223 - 07-28-2011, 07:37 PM



Users browsing this thread: 1 Guest(s)