Hi
This is my first post here :bucktooth: i’ve been visiting the forums for tips while making my flash games… Now i’ve been struggling with one part-
Basically, i have 2 arrays containing object1 and object2 .
ArrayObject1 type are moving
ArrayObject2 type are stationery
When there is a hitTest between the 2 arrays, Object2 gets the same vx,vy as Object1 and they start moving together.*
(I need to keep a track of which instance of Object1 is in contact with which instance of Object2)*
When lets say a BulletObj hitTest Object1, then Object1 is removed from stage (array is spliced) and Object2 should stop moving.
*
(But i don’t know how to know the right instance of ArrayObject2 to stop)*
Any help would be great
Thanks