Skip to main content

PhysicLine

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

Members

Properties

NameDescription
PhysicLine.endLine End point.
PhysicLine.layerMaskA Layer mask that is used to selectively ignore colliders when casting a ray. Default Physic.DefaultRaycastLayers.
PhysicLine.queryTriggerInteractionSpecifies whether this query should hit Triggers. Default QueryTriggerInteraction.UseGlobal.
PhysicLine.startLine Start point.

Constructor

NameDescription
PhysicLine(start, end)Creates new PhysicLine