Hi
is there a way to check if a static mesh with no collision is overlapping with another mesh (with collision)?
i am placing meshes in game and need to check if it will overlap anything else before i place it and turn on collision.
thanks
Hi
is there a way to check if a static mesh with no collision is overlapping with another mesh (with collision)?
i am placing meshes in game and need to check if it will overlap anything else before i place it and turn on collision.
thanks
You could do a box, capsule or sphere trace at the location which approximates the mesh you are about to spawn.
Another thing you can do is first set your mesh collision to “block all”.
Then when you spawn your actor using the SpawnActorFromClass node you set the collision handling override to “Do Not Spawn” and if the actor spawns you disable the collision of your static mesh.