Skip to content

Documentation / scene / PlaneCollider

Interface: PlaneCollider

Defined in: libs/scene/src/animation/spring/spring_collider.ts:66

Plane collider for spring collision detection

Extends

Properties

node?

optional node?: SceneNode

Defined in: libs/scene/src/animation/spring/spring_collider.ts:14

Associated scene node (optional, for dynamic colliders)

Inherited from

SpringCollider.node


enabled

enabled: boolean

Defined in: libs/scene/src/animation/spring/spring_collider.ts:16

Whether this collider is enabled

Inherited from

SpringCollider.enabled


type

type: "plane"

Defined in: libs/scene/src/animation/spring/spring_collider.ts:67

Type of collider

Overrides

SpringCollider.type


point

point: Vector3

Defined in: libs/scene/src/animation/spring/spring_collider.ts:69

Point on the plane in world space


normal

normal: Vector3

Defined in: libs/scene/src/animation/spring/spring_collider.ts:71

Normal vector of the plane (should be normalized)


localPointOffset?

optional localPointOffset?: Vector3

Defined in: libs/scene/src/animation/spring/spring_collider.ts:73

Local point offset from node (if node is set)


localNormal?

optional localNormal?: Vector3

Defined in: libs/scene/src/animation/spring/spring_collider.ts:75

Local normal direction (if node is set)

Released under the MIT License.