Skip to content

PhysicsApplyImpulse

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

PhysicsApplyImpulse 〔BlitzLLVM〕

PhysicsApplyImpulse:Void entity:Int32, x:Float32, y:Float32, z:Float32, global:Int32=0
Parameter Mode Type Default Description
entity In Int32 required The body.
x In Float32 required Along x (pitch for turning).
y In Float32 required Along y (yaw for turning).
z In Float32 required Along z (roll for turning).
global In Int32 0 False (default): the numbers are in the space of the body. True: they are in the world.

Description

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

Gives a body a push at once, in newton seconds: its speed changes by the impulse over its mass. Unlike a force it is given once, now.

Differences

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

Related Commands

PhysicsAngularDamping 〔BlitzLLVM〕, PhysicsAngularVelocity 〔BlitzLLVM〕, PhysicsApplyAngularImpulse 〔BlitzLLVM〕, PhysicsApplyForce 〔BlitzLLVM〕, PhysicsApplyForceAt 〔BlitzLLVM〕, PhysicsApplyImpulseAt 〔BlitzLLVM〕, PhysicsApplyTorque 〔BlitzLLVM〕, PhysicsBaumgarte 〔BlitzLLVM〕

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally