Skip to content

GetPhysicsContactX

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

GetPhysicsContactX 〔BlitzLLVM〕

GetPhysicsContactX:Float32 index:Int32, world:Int32=0
Parameter Mode Type Default Description
index In Int32 required The contact, from 0 to the count minus 1.
world In Int32 0 The physics world, 0 (default) for the default world.

Returns: The value.

Description

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

Gives the x of the point where they touch, for one of the contacts of the last PhysicsUpdate (see GetPhysicsContactCount). Points and directions are in the world.

Differences

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

Related Commands

GetPhysicsAngularVelocityX 〔BlitzLLVM〕, GetPhysicsContactCount 〔BlitzLLVM〕, GetPhysicsContactDepth 〔BlitzLLVM〕, GetPhysicsContactEntityA 〔BlitzLLVM〕, GetPhysicsContactEntityB 〔BlitzLLVM〕, GetPhysicsContactNX 〔BlitzLLVM〕, GetPhysicsContactNY 〔BlitzLLVM〕, GetPhysicsContactNZ 〔BlitzLLVM〕

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally