Skip to main content

Collider

TypeNameInterface Description
VariablesisTangible: boolean

Whether a collision occurs

Example

collider.isTangible = false;
TypeNameInterface Description
VariablesphysicsMaterial: PhysicsMaterial | null

Physical Property Material

Example

const mat = collider.physicsMaterial;
TypeNameInterface Description
Variablescenter: Vector3f

Collision Body Center Position

Example

collider.center = new APJS.Vector3f(0, 1, 0);
TypeNameInterface Description
Variablesrotation: Quaternionf

Collider Rotation (Quaternion)

Example

collider.rotation = new APJS.Quaternionf(0, 0, 0, 1); 
TypeNameInterface Description
VariableseulerAngles: Vector3f (in Degree)

Collider Rotation Euler Angles

Example

collider.eulerAngles = new APJS.Vector3f(0, 45, 0);
TypeNameInterface Description
Variablesinteractable: boolean (can be interact using interactor node)

Whether it is possible to drag with the mouse (using the drag interaction node)

Example

collider.interactable = false;
Copyright © 2025 TikTok. All rights reserved.
About TikTokHelp CenterCareersContactLegalCookies