CLASSES
TagsA - Z

CollisionCoordinatorLegacy

Collision

Description

class CollisionCoordinatorLegacy

Methods

getNewPosition(position, velocity, collider, maximumRetry, excludedMesh, onNewPosition, collisionIndex) → void

Parameters

Name Type Description
position Vector3
velocity Vector3
collider Collider
maximumRetry number
excludedMesh AbstractMesh
onNewPosition (collisionIndex: number, newPosition: Vector3, collidedMesh: AbstractMesh) => void

init(scene) → void

Parameters

Name Type Description
scene Scene

destroy() → void

onMeshAdded(mesh) → void

Parameters

Name Type Description
mesh AbstractMesh

onMeshUpdated(mesh) → void

Parameters

Name Type Description
mesh AbstractMesh

onMeshRemoved(mesh) → void

Parameters

Name Type Description
mesh AbstractMesh

onGeometryAdded(geometry) → void

Parameters

Name Type Description
geometry Geometry

onGeometryUpdated(geometry) → void

Parameters

Name Type Description
geometry Geometry

onGeometryDeleted(geometry) → void

Parameters

Name Type Description
geometry Geometry