Hi! I made this simple example to show the problem.
Logically, the white sprite (sprite2) should not move. But it is gradually moving down.
It is very important to me that sprite2 remains physical, because I need its inertia at the moment of disconnecting the bundle to sprite3 ,
drive.google.com/file/d/1ULfvBhLQQ124Eqx-00JvAhBfjUU25f2z/view
even if I set the velocity to 0, the same result. it's gradually moving down
Set physics to immovable and see if that takes to desired result.
.
I need moveble physic
Develop games in your browser. Powerful, performant & highly capable.
Is it join connection?
No. Even if there is no any connection, when i set manually velosity to 0, its moving down anyway.
It is gravity that naturally keep it moving down. Set the object as immovable first then when something trigger or collide just make it movable again.
it won't help. the sprite must constantly move, and over time, there is an offset from the desired path.
What kind of mechanic you want to achieve? Something you can referring to because I lost an understanding when you said the sprite should not moving but offsetting over time. Is it a moving platform?
I meant that when the velocity is set to 0, the sprite should not move. Just to make it clearer that the sprite is shifting
Put a physics condition 'compare velocity' with overal velocity equal to 0. Next set action to make object physics immovable or disabled.