Skip to content

PhysicsApplyTorque

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

PhysicsApplyTorque 〔BlitzLLVM〕

PhysicsApplyTorque: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.

Turns a body with a torque in newton meters, as pitch, yaw and roll in the direction of TurnEntity. Works like PhysicsApplyForce.

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〕, PhysicsApplyImpulse 〔BlitzLLVM〕, PhysicsApplyImpulseAt 〔BlitzLLVM〕, PhysicsBaumgarte 〔BlitzLLVM〕

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally