To simplify it, I just want to apply a force on some body towered a (0,0,0) point.
I got my body mass and it's location and I want to use the applyForce method from the bullet api. I need to give it two parameters the force and the direction.
Direction is easy to calculate it's just a vector opposite to the location, but how to calculate the force? Also the API require the force to be a vector, while I thought this should be a number, can you explain me why is it this way?