I tried various applyForce, applyLinearImpulse on object with no success when set to “kinematic” object.
Things begin to move when I set to “dynamic” (with setGravity to 0,0).
physics.addBody( ball, "dynamic", { density = 1, friction = 0.3 } )
ball:applyLinearImpulse( math.random(-20,20), math.random(-20,20), ball.x, ball.y)
… and the ball moves
physics.addBody( ball, "kinematic", { density = 1, friction = 0.3 } )
ball:applyLinearImpulse( math.random(-20,20), math.random(-20,20), ball.x, ball.y)
… and the ball doesn’t move
I thought kinematic object were subjects to forces … [import]uid: 9328 topic_id: 4784 reply_id: 304784[/import]