new ColliderController(model, object3D)
Controller collider component
Parameters:
Name | Type | Description |
---|---|---|
model | ColliderModel | model controller |
object3D | Object3D | object3D parent of this collider component |
- Source
Members
shapeWrappers :ShapeWrapper
shapes wrapper ShapeWrapper
Type:
- Source
Methods
getShapeWrappers() → {Array.<ShapeWrapper>}
- Source
Returns:
- shape wrappers of controller
- Type:
- Array.<ShapeWrapper>
update(offset)
Update worldtransform of the shapeWrappers
Parameters:
Name | Type | Description |
---|---|---|
offset | Vector3 | offset of the collider system |
- Source