Get Linear Velocity in one axis, not all





PS:linearVelocity() return the LOCAL velocity, not global(is a mistake)

thanks just one little question, which the difference between the sensor state “activate” and “just activate”

just activate is only the “first tick” (first frame) (when you press a key)

if you keep the key pressed this become “active” in the second frame and over (not sure if “active” is the right name)

[email protected]
i was thinking it was for that but i can’t find info

see this, is not much complete , but can be very usefull :wink:

For your information, the complete syntax is:

there is a parameter that tells the function what space to use (local or world). :wink: