Move a meter a Body in Libjdx

0

I have a body of one meter by one meter. With a density of 1.

How could the function be applied correctly so that one meter was pushed upwards?

I'm trying this, but it's not very accurate

If I want to use this function, but I do not know how to get the right boost

mPlayerBody.applyLinearImpulse (0, 5, vector2.x, vector2.y, true);

    
asked by Doble-L 10.11.2018 в 07:57
source

0 answers