simple 3d collision detection?

Advanced game related topics
ChebbyShabby
Enthusiast
Enthusiast
Posts: 121
Joined: Mon Jun 26, 2006 10:47 am

simple 3d collision detection?

Post by ChebbyShabby »

hi is there a really simple example of the collision detection of 2 meshes? i mean... i don't want to get too technical or precise -- just a function that detects collision (like SpriteCollision() for 2d).

can anyone help?
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

Code: Select all

CheckEntityCollision(#Entity, #Entity2)
I would read through the 3D section in the helpfile to familiarise yourself with the 3D command set.
--Kale

Image
ChebbyShabby
Enthusiast
Enthusiast
Posts: 121
Joined: Mon Jun 26, 2006 10:47 am

Post by ChebbyShabby »

whoops.. sorry :(.. i'll do that from now on
Post Reply