I have actor Sphere that spawns a sphere and I have an Actor SpawnVolume that is a BoxComponent that on BeginPlay() spawns the Sphere randomly within the BoxComponent. I know how to check for overlapping actors within blueprint, but can't seem to figure it out in c++. I want every tick to check the randomly created sphere for any characters that are either inside or outside this sphere.
asked Feb 02 '16 at 04:18 AM in C++ Programming
Thanks for the response!
I was able to figure this part out. And I think I am checking to see if it is the client's character who overlapped with the sphere. But ultimately what I want is a class that only ticks on the server, checks for overlapping characters only, and if it finds one it displays to only that clients screen it was overlapping. This is what I have so far: I can run
I guess the issue I have is I need to get a list of all available characters, and loop through that as well against the array of collisions? I'm not sure if there is a better way to check that isn't that taxing?
answered Feb 02 '16 at 12:58 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here