what is impulse?

in my manual it says applyImpulse() applys impulse to the gameObject (N*s) <-- what does that mean? %|

impulse = product of mass and velocity (the change of the impulse is the force push)
kgm/s = Ns (Newton*Seconds)

But I’m not sure with the correct English expressions :expressionless:

thats awesome! thanks a bunch! :smiley:

yeah except the applyImpulse function doesn’t seem to do anything. :frowning:

The documentation says applyImpulse() takes one, three element list. This is false, applyImpulse takes 2 lists of three elements each. The first list is the origen of the impulse (use the object’s position as the first argument to avoid rotation.) The second list is a vector that determines the direction and force of the impulse.

So are the units of the vector identical to that used in the movement actuator for force?

No, they’re not. You’ll have to experiment with the values until you get a speed you like.

Also not that applyImpulse() is in global coordinates, if you want to give force in a local direction, you’ll have to convert the vector to global coordinates.

Some helpful links about vectors:
http://chortle.ccsu.edu/vectorLessons/vectorIndex.html
http://www.flipcode.com/geometry/

Or, if you’re too lazy to read all that, I made a quick example file and put it on my website. Here’s the link:
http://68.7.28.252:8080/BBS/BSS/wiseman/b3d/files/localimpulse.zip