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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make an entity sway back and forth?
naseem142 Offline
Member

Posts: 153
Threads: 19
Joined: Oct 2012
Reputation: 0
#3
RE: How to make an entity sway back and forth?

(11-08-2012, 02:31 PM)beecake Wrote: AddPropForce or AddPropImpulse
Be more detailed with newbies ( if he is ) ,


AddPropForce(string& asName, float afX, float afY, float afZ, string& asCoordSystem);

AddPropImpulse(string& asName, float afX, float afY, float afZ, string& asCoordSystem);

Pushes objects. Note that rather high values are needed when applying forces.
asName - the object to push
afX - direction along the X-axis
afY - direction along the Y-axis
afZ - direction along the Z-axis
asCoordSystem - determines which coordinate system is used, usually “world”


*Taken from the wiki*

I help people when i'm bored :U


Typing Speed: 74 Words per minute
11-08-2012, 05:06 PM
Website Find


Messages In This Thread
RE: How to make an entity sway back and forth? - by naseem142 - 11-08-2012, 05:06 PM



Users browsing this thread: 1 Guest(s)