Skip to content

GetPhysicsContactSensor

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

GetPhysicsContactSensor 〔BlitzLLVM〕

GetPhysicsContactSensor:Int32 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 1 if one of the two is a sensor, 0 if not, 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

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

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

Clone this wiki locally