I have a location of a actor
And want to check if that location lies in between the box collision coverage area
You may need to clarify that. Are you attempting to spawn an actor and want to check if it’s going to fit in there?
If the box shape inherits from the class “UPrimitiveComponent”, acting as a box collider, you can call the method IsOverlappingActor to check if the box currently overlaps with the actor.
This would be more reliable than comparing the actor’s position to the box its position + extent. Otherwise you’d have to check additional things to get the actual area and not a circle from its position.
Noo, the box collision are only for area coverage
If my character is in that are area than the code run further according to box collisions
The begin overlap don’t work for my situation
I want to check that the character location
Is in between the box collision coverage area
Like we use random point in box extent
So there anyway I can check that location vector lies in box coverage area