Documentation / scene / createPlaneCollider
Function: createPlaneCollider()
createPlaneCollider(
pointOrOffset,normal,node?):PlaneCollider
Defined in: libs/scene/src/animation/spring/spring_collider.ts:175
Creates a plane collider
Parameters
pointOrOffset
Vector3
Point on plane in world space, or local offset if node is provided
normal
Vector3
Normal vector (will be normalized)
node?
Optional scene node to attach to (if provided, pointOrOffset is treated as local offset)