Hi,
Just wanted to ask whether it’s possible to check for collisions between objects at runtime? At the moment I’m placing objects and I’m doing bounding box checks to see whether the object I’m placing overlaps any other existing object and if it does, I discard the new object and try to place another. This has worked fine.
With more advanced room shapes, bounding shapes are now much harder to set up. I would instead like to do a similar test using Mesh Colliders but I notice there’s not a way in script to check if an object is colliding as soon as its created. I’ve thought about using trigger callbacks but unless I’m mistaken a frame needs to before that callback will be used and I’m really trying to generate a lot of objects at once rather than over a period of time so this isn’t desirable.
So just wondered if there are any other suggestions?
Thanks,
Lukas