GSplatCollider
A generated 3D compound collider built from GSplat sample data.
| Type | Name | Interface Description |
|---|---|---|
| Variables | interactable: boolean | • Function: Gets or sets whether this generated GSplat collider is interactable through the Physics Interactor path. APJS applies the interaction category bit across the internal collider set. This does not change normal collision behavior. |
| Variables | isTangible: boolean | • Function: Gets or sets whether this generated GSplat collider is tangible. When true, its internal sphere colliders participate in normal collision response. When false, they behave like triggers. This setting is applied across the full generated collider set. |
| Functions | constructor() |
Examples
constructor()
let obj = new APJS.GSplatCollider();
Use Case
@component()
export class NewBehaviourScript extends APJS.BasicScriptComponent {
onStart() {
// TODO: instantiate / use GSplatCollider here
}
onUpdate(deltaTime: number) {
}
}