Syntax

Result = dbStaticVolume(x1.f, y1.f, z1.f, x2.f, y2.f, z2.f, Size.f)

Description

This command will cast a ray from a start vector to an end vector, and determine if that line intersects any static geometry. If there is no intersection, this value is zero. If there was an intersection, this value is greater than zero. For sliding collision, more data is stored in the dbGetStaticCollision x,y and z for adjusting the moving 3D ellipse to its correct non-colliding location.

 

x1, y1, z1

The x, y, and z coordinates of the vector of the starting position of a moving 3D ellipse

 

x2, y2, z2

The x, y, and z coordinates of the vector of the destination position of a moving 3D ellipse

 

Size

The width of the 3D ellipse being moved for the volume check. The ellipse dimensions have equal width and depth, and double height

See Also

dbGetStaticCollisionCount, dbGetStaticCollisionFloor, dbGetStaticCollisionHit, dbGetStaticCollisionValue, dbGetStaticCollisionX, dbGetStaticCollisionY, dbGetStaticCollisionZ, dbStaticRayCast