i could be wrong here but i thike resetentity is ignoring all collisions SINCE the last updateworld to the statement
ie. this wont work
updateworld
.
.(goes round loop)
.
if entitycollided set latch to 1 (inside collision count loop)
if latch on
resetentity(blah)
positionentity @collision coords
reset latch
endif
moveentity .......
--------------------------------------------------
but this will (with a slight hang up on one frame)
updateworld
.
.(round loop)
.
if entitycollided set latch to 1
moveentity .......
if latch on
resetentity(blah)
positionentity @collision coords
reset latch
endif
it (seems) to reset for any movement before the resetentity and after the last updateworld. Can anyone else confirm this?? and also tell me how to post proper formatted code!!
ie. this wont work
updateworld
.
.(goes round loop)
.
if entitycollided set latch to 1 (inside collision count loop)
if latch on
resetentity(blah)
positionentity @collision coords
reset latch
endif
moveentity .......
--------------------------------------------------
but this will (with a slight hang up on one frame)
updateworld
.
.(round loop)
.
if entitycollided set latch to 1
moveentity .......
if latch on
resetentity(blah)
positionentity @collision coords
reset latch
endif
it (seems) to reset for any movement before the resetentity and after the last updateworld. Can anyone else confirm this?? and also tell me how to post proper formatted code!!