I know the title is ambiguous. But I couldn’t quite fit in anything meaninglful without doubling the length of the UA page, or having most of it cut off. So the question is this:
How can you detect objects colliding with an object and then store these objects for later usage via scripting in Javascript?
In case you didn’t follow that, here’s a breakdown.
- How do you pick up collisions with objects with a certain tag?
- How do you then ‘store’ these items (so perhaps when another event is triggered, all the collision objects are affected)?
That’s not very clear. Oh well.