useContactForce
Should the impulse force but applied to the contact point?
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public bool useContactForce { get; set; }
Remarks
When true, the force is applied to the contact point which may cause the target to rotate. When off, the force is applied to the center-of-mass, therefore no rotation is produced.