Check if actor exists at location
How could I say to the actor that "if there is already an actor there, just hide and don't spawn it" ? I've already tried a BowOverlapping node, SphereOverlapping, IsOverlappingActor, GetOverlappingActors, checked the location to be similar with the spawned location, but it never returns correctly for all spawned meshes.
Here are the details : A preview actor is spawned at the location of my mouse (top-viewed scene). LMB spawns the actor at location if valid. The new preview actor is at the mouse location again. When the cursor approaches a previously spawned actor, in a certain range, the preview actor is snapped and placed at the nearest side of the placed one (actually at the location of a defined Arrow component, with some offset). This way I can put many objects at regular intervals.
asked Dec 14 '17 at 03:36 PM in Blueprint Scripting
Well, I finally found something working :
answered Dec 14 '17 at 04:26 PM
Can you use this?
answered Dec 14 '17 at 05:03 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here