So, I have a character that has a collisionobject on it which is kinematic. My understanding is that kinematic objects aren’t affected by the physics (like gravity) but I want my character to be affected by it. Do I need to make the gravity especially for him in his script?
Yes, you need to apply gravity in the player script. You do this usually from the update() function (remember to use dt/delta time).
Alright, thanks. I’ll try to figure that out
Typed on my phone:
function update (self, dt) local pos = go.get_position() pos.y = pos.y + 600 * dt go.set_position(pos) end