Topic was automatically imported from the old Question2Answer platform.
Asked By
NervousTic
Hello,
I want to accelerate a ball( RigidBody2D) when it touch a platform. I am using a signal to detect the collision and multiply the linear_velocity in the signal method.
Is it a good practice ? The add_force() method make strange result for me.
Applies a positioned impulse to the body (which will be affected by the body mass and shape). This is the equivalent of hitting a billiard ball with a cue: a force that is applied instantaneously. Both the impulse and the offset from the body origin are in global coordinates.