Skip to content

Trace Line 3D

Physics 3D ยป Trace Line 3D


Captures all colliders caught inside a line between A and B


Name Description
Point A The position of the first point
Point B The position of the second point
Store In The list where the colliders (if any) are stored
Layer Mask A mask that determines which colliders are ignored and which aren't


Line Trace Raycast Cast Collect Physics Rigidbody