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
help with Addprop?
xtron Offline
Senior Member

Posts: 402
Threads: 37
Joined: May 2011
Reputation: 2
#2
RE: help with Addprop?

Well "AddBodyForce" pushes the player away (pretty obvious) and here's a tip to get the coordinates, duplicate the item/player you want to be pushed, drag it to the point you want him to be pushed to then you just take the coordinates.
For example:
AddBodyForce("Player", 0.0f, 0.0f, 0.0f, "world");

PropForce is the same as BodyForce but it pushes an object.

I Dunno the difference betwen an Impulse and the Force but yea...If you're gonna use impulse take some high numbers such as 500.0 or maybe even 5000.0.

Test some and you'll get it Tongue

[Image: 44917299.jpg]Dubstep <3
07-12-2011, 10:51 AM
Find


Messages In This Thread
help with Addprop? - by Dizturbed - 07-12-2011, 12:48 AM
RE: help with Addprop? - by xtron - 07-12-2011, 10:51 AM
RE: help with Addprop? - by Dizturbed - 07-12-2011, 11:33 AM



Users browsing this thread: 1 Guest(s)