☰
GLBasic User Manual
×
GLBasic
News
About
Features
Download
Shop
Press
Support
Forum
Online Manual
Chat
Contact
Links
Showroom
All entries
Submit a new program
Control Panel
iPhone Games
Main sections
1 Tutorials
2 GLBasic intern
3 Command Reference A-Z
4 Commands by Category
5 Optional Subroutines
X_GETCOLLISIONFACE()
id% = X_GETCOLLISIONFACE()
Returns the index of the surface that triggered a collision in the last X_COLLISION... query.
Information about the face can be retrieved with the command X_GETFACE id%, f[].
See also...
X_COLLISION()
X_COLLISIONAABB()
X_COLLISIONRAY()
X_COLLISIONSPHEREBOX
X_GETFACE