Skip to content

PhysicsMass

Narta Xaymar Dirks edited this page Nov 5, 2026 · 1 revision
BlitzLLVM

PhysicsMass 〔BlitzLLVM〕

PhysicsMass:Void entity:Int32, kilograms:Float32
Parameter Mode Type Default Description
entity In Int32 required The body.
kilograms In Float32 required More than 0.

Description

〔BlitzLLVM〕 This command does not exist in the original Blitz products. BlitzLLVM adds it.

Sets the mass of a dynamic body. How hard it is to push depends on it; how fast it falls does not. Bodies made from the standard shapes spread the mass over the volume, so a bigger body has more inertia.

Differences

  • The original has no such command. This is an extension; programs that use it do not compile with the original Blitz3D.

Related Commands

GetPhysicsMass 〔BlitzLLVM〕, PhysicsAngularDamping 〔BlitzLLVM〕, PhysicsAngularVelocity 〔BlitzLLVM〕, PhysicsApplyAngularImpulse 〔BlitzLLVM〕, PhysicsApplyForce 〔BlitzLLVM〕, PhysicsApplyForceAt 〔BlitzLLVM〕, PhysicsApplyImpulse 〔BlitzLLVM〕, PhysicsApplyImpulseAt 〔BlitzLLVM〕

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally