CollisionCoordinatorLegacy

Collision

Description

class CollisionCoordinatorLegacy

Methods

getNewPosition(position, displacement, collider, maximumRetry, excludedMesh, onNewPosition, collisionIndex) void

Parameters

Name Type Description
position Vector3
displacement Vector3
collider Collider
maximumRetry number
excludedMesh AbstractMesh
onNewPosition collisionIndex number
newPosition Vector3
collidedMesh Nullable<AbstractMesh>

|

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