CreateShapeProxy(bool)
Create a shape proxy from the shape.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public PhysicsShape.ShapeProxy CreateShapeProxy(bool useWorldSpace = false)
Parameters
Whether to create the shape proxy in world-space or not. World-space will transform by the body origin the shape is attached to.
Returns
Type | Description |
|---|---|
| ShapeProxy |