useContactForce
Should the impulse force but applied to the contact point?
阅读时间1 分钟最后更新于 1 个月前
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.