Syntax

Result = dbGetStaticCollisionHit(OX1.f, OY1.f, OZ1.f, OX2.f, OY2.f, OZ2.f, NX1.f, NY1.f, NZ1.f, NX2.f, NY2.f, NZ2.f)

Description

This command will return a value of one if the specified moving bound box intersects with any invisible collision box in the static universe scene. A return value of one indicates that a collision has occurred between the start and end locations of the moving 3D bounding box against one of the invisible collision boxes of the static universe.

 

OX1, OY1, OZ2

The x, y, and z coordinates of the bottom/left/back corner of the start location of a moving 3D bounding box.

 

OX2, OY2, OZ2

The x, y, and z coordinates of the top/right/front corner of the start location of a moving 3D bounding box.

 

NX1, NY1, NZ1

The x, y, and z coordinates of the bottom/left/back corner of the end location of a moving 3D bounding box.

 

NX2, NY2, NZ2

The x, y, and z coordinates of the top/right/front corner of the end location of a moving 3D bounding box.

See Also

dbGetStaticCollisionCount, dbGetStaticCollisionFloor, dbGetStaticCollisionValue, dbGetStaticCollisionX, dbGetStaticCollisionY, dbGetStaticCollisionZ, dbStaticVolume