Why would a collision occur on an object that has been moved as part of a display group?
—>Ok here is the issue.
I am creating a platform style game ( yeah isn’t everyone )
I have created 15 ( one way platforms ) where the alien springs off of on collision ( works great ).
all platforms are part of group called “platformsGroup” - unique i know.
when the alien reaches a certain height in my collision event I perform the following transition
objT= transition.to( platformsGroup, { time=300, y=platformsGroup.y + yDiff})
( after the end of the collision i cancel the transition )
this all works fine the entire group transitions down the screen to give the appearance that the alien is jumping.
now here is the problem, even after the platformsGroup is transitioned down
the screen, the alien continues to jump in the same position. Thinking that he is having a collision with the same object ( even though nothing is there for him to hit )
I printed this debug info to confirm my idea, and as you can see he keeps hitting platform5 when its not on the screen, why is that?
object2->platform5-> y = 300
object2->platform5-> y = 300
object2->platform5-> y = 300
object2->platform5-> y = 300
object2->platform5-> y = 300
[import]uid: 11860 topic_id: 5395 reply_id: 305395[/import]
lol