Hi!
I have a "little" problem with a body. Im setting the linear velocity of the body to (5, body->getLinearVelocity().y)
If I create now a body, which is able to interact with my other body, which has a friction > 0, my first body, which is moved by setLinearVelocity, will stay in the air and... yeah. So slowly more detailed:
I have two bodies, one static the other one is moved by some event-stuff.
Now I trigger one of these events so the body moves. If the body is falling down and I move to the static one, the falling-body will stop falling. While i trigger the event it will stay there and stciks on the static one if the friction is bigger than zero.
What could be the reason of this problem?
Thanks for helping
I have a "little" problem with a body. Im setting the linear velocity of the body to (5, body->getLinearVelocity().y)
If I create now a body, which is able to interact with my other body, which has a friction > 0, my first body, which is moved by setLinearVelocity, will stay in the air and... yeah. So slowly more detailed:
I have two bodies, one static the other one is moved by some event-stuff.
Now I trigger one of these events so the body moves. If the body is falling down and I move to the static one, the falling-body will stop falling. While i trigger the event it will stay there and stciks on the static one if the friction is bigger than zero.
What could be the reason of this problem?
Thanks for helping