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
Script Help I would very much like some help please!
Neelke Offline
Senior Member

Posts: 668
Threads: 82
Joined: Apr 2013
Reputation: 26
#20
RE: Wtf ??? Never srsly never see this!!!! (this thread make me MAD)

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.

Test with this, text below explains what it does. Enuff said.

Derp.
03-23-2014, 10:42 PM
Find


Messages In This Thread
RE: Wtf ??? Never srsly never see this!!!! (this thread make me MAD) - by Neelke - 03-23-2014, 10:42 PM



Users browsing this thread: 1 Guest(s)