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


Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Throwing Daniel Around
Streetboat Offline
Posting Freak

Posts: 1,099
Threads: 40
Joined: Mar 2011
Reputation: 56
#2
RE: Throwing Daniel Around

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.

[Image: signature-2.png]
07-25-2011, 07:15 PM
Find


Messages In This Thread
Throwing Daniel Around - by JenniferOrange - 07-25-2011, 07:13 PM
RE: Throwing Daniel Around - by Streetboat - 07-25-2011, 07:15 PM
RE: Throwing Daniel Around - by JenniferOrange - 07-25-2011, 07:17 PM
RE: Throwing Daniel Around - by DRedshot - 07-25-2011, 07:26 PM
RE: Throwing Daniel Around - by Tanshaydar - 07-25-2011, 07:26 PM
RE: Throwing Daniel Around - by JenniferOrange - 07-25-2011, 07:28 PM
RE: Throwing Daniel Around - by Tanshaydar - 07-25-2011, 07:29 PM
RE: Throwing Daniel Around - by JenniferOrange - 07-25-2011, 07:48 PM
RE: Throwing Daniel Around - by Tanshaydar - 07-25-2011, 08:08 PM
RE: Throwing Daniel Around - by JenniferOrange - 07-25-2011, 08:59 PM
RE: Throwing Daniel Around - by Tanshaydar - 07-25-2011, 09:01 PM
RE: Throwing Daniel Around - by JenniferOrange - 07-25-2011, 09:08 PM



Users browsing this thread: 1 Guest(s)