entity.collisionBoxes

Property Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline Read-Only

Available since Client 1.0.0

array<TCuboid> entity.collisionBoxes

The entity.collisionBoxes property is used to fetch the collision box data for the entity.

Value

array<TCuboid> An array containing the collision box data for the entity.
TCuboid { CVector3D min, CVector3D max }.
The array size is 2 * entity.collisionBoxCount.
For example, array index 0 contains a min position for the first collision box, and array index 1 contains a max position for the first collision box.
readonly This property cannot be changed.

Types

Shared Building
Shared entity
Shared Object
Shared Ped
Shared Physical
Shared Player
Shared Vehicle

Notes

There aren't any notes for this property.

Examples

There aren't any examples for this property.

Compatibility

There isn't any compatibility information for this property.

Related

Client Related

      gta.undoEntityInvisibilitySettings

  entity.alpha
      entity.boundingCentre
      entity.boundingMax
      entity.boundingMin
      entity.boundingRadius
        entity.children
        entity.clearExistsFor
      entity.collisionBoxCount
      entity.collisionBoxes
      entity.collisionLineCount
      entity.collisionLines
      entity.collisionsEnabled
      entity.collisionSphereCount
      entity.collisionSpheres
      entity.collisionVertexCount
      entity.collisionVertices
        entity.dimension
      entity.distanceFromCentreOfMassToBaseOfModel
        entity.existsFor
        entity.getData
        entity.getRotation
        entity.heading
        entity.id
      entity.interior
        entity.isCreatedFor
        entity.isLocal
      entity.isOnScreen
        entity.isOwner
        entity.isSyncer
        entity.isType
      entity.markAsNoLongerNeeded
        entity.matrix
      entity.model
        entity.modelIndex
        entity.name
        entity.netFlags
      entity.onScreen
        entity.parent
        entity.position
        entity.removeAllData
        entity.removeData
        entity.resource
        entity.rotation
        entity.setData
        entity.setExistsFor
      entity.setProofs
        entity.setRotation
        entity.setSyncer
      entity.status
        entity.streamInDistance
        entity.streamOutDistance
        entity.syncer
        entity.syncerId
        entity.type
      entity.visible