GLBasic User Manual

Main sections

X_COLLISION()

col#=X_COLLISION(num#, frame#, rad#, x#, y#, z#)



Does a sphere to 3D object collision check.
frame# specifies the animation frame of the object num# at the current drawing/scaling/rotation position.
x#, y#, z# specifies the center of the sphere with a radius of rad#.

See also...