Reset coordinates after entity collision?

Blitz3D Forums/Blitz3D Beginners Area/Reset coordinates after entity collision?

jeffmorris(Posted 2006) [#1]
How do I reset the coordinates of player-controlled object after collision with other objects? The parameters of CollisionY are entity handle and index of collision. If the Y coordinate is not 0, reset it to 0


Stevie G(Posted 2006) [#2]
After Updateworld() you could use ...

Translateentity PlayerEntity, 0, -entityy( PlayerEntity, 1 ) , 0

This what you mean?

Stevie