Download

Check collision between two actors, which are not spawned yet

Hi,
I want to check the collision between two actors, which are not spawned yet. I only have these variables of each actor:

  • actor class
  • Location
  • Rotation
  • Size

I have already looked for something in the source code and I found a lot of different functions to check the collision, but I have no idea how to change one of the functions so that the collision is only checked between the two objects.
Can someone help me there?

I don’t want to spawn the actors for some milliseconds and despawn it directly or similar to check.

You could just check to see if the spawn location of an actor is within the bounds of any of the other actors ( really depends how complex the level is ).