I am just playing around with the default project (Defold Logo). I have attached a dynamic collision to this game object which now continues to fall through the air.
Upon pressing the space bar I am applying a force to this object:
msg.post("go1", "apply_force", {force = vmath.vector3(0, 100, 0), position = go.get_world_position("#go1")})
I thought it would make the object go up but instead it spins clockwise. How can I apply a force to make the object go up and cancel out gravity.
Remember that the force is applied for a single frame. To get any kind of visible result you need to apply either a large force or a smaller force over many frames.