How to set linear velocity of a kinematic collision object

I have attempted to set linear velocity of a kinematic object with b2d and b2d.body api. It did not worked. How can ı do it?

Kinematic objects aren’t moved by the physics engine (that’s what kinematic means), so the velocity property is completely ignored. Use go.set_position() and go.animate() to move it yourself.

What, I do not understand. Box2D engine supports this, besides, then why this issue on github is closed: Support for moving a kinematic object with linear_velocity and angular_velocity · Issue #8101 · defold/defold · GitHub ?

This is fairly new functionality and it was supposed to work to set the velocity. It seems like there is a bug. I will reopen that ticket.

1 Like

Thanks

Related thread: