ColliderController

new ColliderController(model, object3D)

Controller collider component

Parameters:
NameTypeDescription
modelColliderModel

model controller

object3DObject3D

object3D parent of this collider component

Members

shapeWrappers :ShapeWrapper

shapes wrapper ShapeWrapper

Methods

getShapeWrappers() → {Array.<ShapeWrapper>}

Returns:
  • shape wrappers of controller
Type: 
Array.<ShapeWrapper>

update(offset)

Update worldtransform of the shapeWrappers

Parameters:
NameTypeDescription
offsetVector3

offset of the collider system