PhysicLine
7/14/25Less than 1 minute
PhysicLine
Describes a line in space for physical calculations. Used for LineCast and more.
Members
Properties
| Name | Description |
|---|---|
PhysicLine.end | Line End point. |
PhysicLine.layerMask | A Layer mask that is used to selectively ignore colliders when casting a ray. Default Physic.DefaultRaycastLayers. |
PhysicLine.queryTriggerInteraction | Specifies whether this query should hit Triggers. Default QueryTriggerInteraction.UseGlobal. |
PhysicLine.start | Line Start point. |
Constructor
| Name | Description |
|---|---|
PhysicLine(start, end) | Creates new PhysicLine |

