Adds a force at a specific world-space position. Generates both linear force and torque: τ = r × F where r is the moment arm (position - center of mass) Only affects dynamic bodies.
the physics world
the body to apply force to
force vector in world space
position in world space where force is applied
if true, wakes the body if sleeping
Adds a force at a specific world-space position. Generates both linear force and torque: τ = r × F where r is the moment arm (position - center of mass) Only affects dynamic bodies.