setShapeBoundingSphere
setShapeBoundingSphere
Description
Set the bounding sphere of this shape only
Definition
setShapeBoundingSphere(entityId shapeId, float localPosX, float localPosY, float localPosZ, float radius)
Arguments
| entityId | shapeId | |
|---|---|---|
| float | localPosX | |
| float | localPosY | |
| float | localPosZ | |
| float | radius | if < 0, the bounding sphere of the geometry will be used |