Is there some way to find out if a vector world location is inside a collision box?
Basically what i'm wondering is if it's currently possible to find out if a vector location is inside one or more collision boxes that are placed in the world.
What i need this for is that when my AI hears certain noises i want to be able to check if the location of this sound is within a certain collision/overlap box.
I have been looking around a bit but i cannot seem to find anything that could be used for this. Any help is appreciated.
asked Nov 26 '15 at 09:52 AM in Using UE4
The BoxCollision component has functions named IsOverlappingComponent and GetOverlappingComponents. If your sound generator Actor has a collision component, it could be used for testing if the box is overlapping it. Also, there are the same functions aimed for Actors, instead of components. IsOverlappingActor and GetOverlappingActors.
answered Nov 26 '15 at 11:44 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here