offset
The signed distance from the world origin to the plane, measured along PhysicsPlane.normal. A point lies on the plane when its dot product with the normal equals this offset.
阅读时间1 分钟最后更新于 7 天前
Definition
- Type: Field
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public float offset
Remarks
This is exposed directly as a field rather than a property as it is extremely unlikely to ever change and causes usability issues as a property.