Collisions?

Blitz3D Forums/Blitz3D Programming/Collisions?

vivaigiochi(Posted 2006) [#1]
how can setup a collision between a mesh and a masked image. is it possible?


bytecode77(Posted 2006) [#2]
no. not so far.
what do you wanna do?


Junkprogger(Posted 2006) [#3]
mh try this : Use Cameraproject and ProjectedX/y/Z() to get the 2D coords of your mesh. (i think, you must do this on each vertex or you create an invisible collision cube and pick it's 8 corners).

But i give no warranty to this method ;)


Stevie G(Posted 2006) [#4]
@ Junkprogger, that wouldn't work as you'd have no way to determine which parts of the masked image were collidable.

Why would you want to do this vivaigiochi? Is the masked image a kind of landscape collision map? Can you explain in more detail the context? There may be better and faster options which you haven't thought of.

Stevie