I have an object that i want to transition left to right and back again ( this i can do )
if it is detected that it hits the screen edges i wish to change the direction of the object to go the other x direction.
I have a postCollision event but - should i do this in the onCollision event and pass the self parm?
but I would like to know how to detect the following details:
#1 what object I hit ( maybe somehting was dropping - or my player ran into the moving object )
#2 did I hit a wall, if so which wall, the left wall or the right wall.
And on which side of the object did the hit occur?
thanks in advance Larry
[import]uid: 11860 topic_id: 4459 reply_id: 304459[/import]