Skip to main content
Skip to main content

setShapeBoundingSphere

setShapeBoundingSphere

Description

Set the bounding sphere of this shape only

Definition

setShapeBoundingSphere(entityId shapeId, float localPosX, float localPosY, float localPosZ, float radius)

Arguments

entityIdshapeId
floatlocalPosX
floatlocalPosY
floatlocalPosZ
floatradiusif < 0, the bounding sphere of the geometry will be used