entity.centerOfMass

(Redirected from Entity.centerOfMass)

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

Available since Client 1.0.72

Vec3 entity.centerOfMass

The entity.centerOfMass property is used to get/set this entity's center of mass.

Value

Vec3 A Vec3 containing the entity's center of mass.
read/set This property can be changed, as well as read.

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