Skip to content

API > PhysicLine


PhysicLine⚓︎

Describes a line in space for physical calculations. Used for LineCast and more.

Members⚓︎

Properties⚓︎

Name Description
PhysicLine.endProperty Line End point.
PhysicLine.layerMaskProperty A Layer mask that is used to selectively ignore colliders when casting a ray. Default Physic.DefaultRaycastLayers.
PhysicLine.queryTriggerInteractionProperty Specifies whether this query should hit Triggers. Default QueryTriggerInteraction.UseGlobal.
PhysicLine.startProperty Line Start point.

Constructor⚓︎

Name Description
PhysicLine(start, end)Constructor Creates new PhysicLine