Create(Vector2, Vector2)
Create a Segment.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public static SegmentGeometry Create(Vector2 point1, Vector2 point2)
Parameters
Returns
Type | Description |
|---|---|
| SegmentGeometry | The created geometry. |