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 分钟最后更新于 2 天前
Definition
- Type: Field
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
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.