I have a dynamic body that constantly changes linear velocity, I want my dynamic body to act like a kinematic body which is not affected by forces and can move in a linear way. But I need to use dynamic body because I need to detect collision.
You can call the setLinearVelocity method on your dynamic body in your render or act method - although it will be affected by gravity you will override it's velocity in every step and it will act like kinematic
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more