Collision detection

Blitz3D Forums/Blitz3D Programming/Collision detection

Moraldi(Posted 2007) [#1]
I have a SOURCE mesh to check it's collisions. The problem has to do with its dimensions. The width is 10 times larger than depth (forget height). How to setup the x_radius in the EntityRadius command?


big10p(Posted 2007) [#2]
Try:

Just set up a collision radius that contains the entire mesh (forget about the y param as I've never been able to get ellipsoidal collisions to work properly), then, when a collision takes place, do a MeshesIntersect check.


Moraldi(Posted 2007) [#3]
Thanks big10, your answer was faster than the eye could flick! I will try...