Hi everyone !
I've got a little bit problem in my app using box2D.
I want to get one of my bodies not to fall, never. But I don't know how to get that…
I tried to apply on it a force which was exactly the opposite of the force of gravity but if the density of it is too low, the body flies up, and if it is too high, it falls down. I also managed to get a value which would give the effect I needed, but 7.6 is too low and 7.61 is too high…
Well, after that I tried with SetTransform, it works but the collisions with the character are pretty weird… (as my character is thrown away when it tries to get on the body).
So do you know what can I do ? Thanks 😀
I've got a little bit problem in my app using box2D.
I want to get one of my bodies not to fall, never. But I don't know how to get that…
I tried to apply on it a force which was exactly the opposite of the force of gravity but if the density of it is too low, the body flies up, and if it is too high, it falls down. I also managed to get a value which would give the effect I needed, but 7.6 is too low and 7.61 is too high…
Well, after that I tried with SetTransform, it works but the collisions with the character are pretty weird… (as my character is thrown away when it tries to get on the body).
So do you know what can I do ? Thanks 😀