I have the object in the image.
The red box is kinematic: when an object hit it , i set kinematic to false, so Unity apply normal physic.
But I would like to apply also a force to the point indicated by the violet cross.
So I'm using Rigidbody.AddForceAtPosition
_rb.AddForceAtPosition (ForceDirection * ForcePower, PointForcePosition.transform.position, ForceType);
PointForcePosition is an empty GameObject child of the red box object, placed where violet cross is pointing.
My question are:
- Force Position: can I use that approach (an empty gameObject placed where i want to apply force ) ?
- Force Direction: is it corret a Vector3 ( 0 , -1 , 0 ) to indicate a down force
- Which ForceMode is the best for my purpose ? Impulse ? Force ?
Thanks