Skip to content

PhysicsFriction

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

PhysicsFriction 〔BlitzLLVM〕

PhysicsFriction:Void entity:Int32, friction:Float32
Parameter Mode Type Default Description
entity In Int32 required The body.
friction In Float32 required 0 or more, usually up to 1.

Description

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

Sets how much a body grips what it touches (default 0.2). Two bodies use the square root of the product of both. 0 is ice.

Differences

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

Related Commands

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

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

Clone this wiki locally