Well, according to YOUR code above ..
As I mentioned in a post above .. the Tanx game I wrote will give you a good idea of how to handle this.
Stevie
entity = CollisionEntity(player\pivot, collisionnumber)
As I mentioned in a post above .. the Tanx game I wrote will give you a good idea of how to handle this.
Stevie