CollisionCoordinatorWorker
Description
class CollisionCoordinatorWorker
Constructor
Members
static SerializeMesh : (mesh: AbstractMesh) => SerializedMesh
Parameters
static SerializeGeometry : (geometry: Geometry) => SerializedGeometry
Parameters
Parameters
onGeometryUpdated : (geometry: Geometry) => void
Parameters
Methods
getNewPosition(position, displacement, collider, maximumRetry, excludedMesh, onNewPosition, collisionIndex) → void
Parameters
|
init(scene) → void
Parameters
|
Name |
Type |
Description |
|
scene |
Scene |
|
destroy() → void
onMeshAdded(mesh) → void
Parameters
onMeshRemoved(mesh) → void
Parameters
onGeometryAdded(geometry) → void
Parameters
onGeometryDeleted(geometry) → void
Parameters