CreateShapeProxy(bool)
Create a shape proxy from the shape.
Read time 1 minuteLast updated 10 days ago
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 |