I have a for loop with set location and in the same for loop I have a trace. That trace does not hit the last actor that I changed the location if of even though it is clearly in its path. For loop works like this:
1: Trace (for previous placed actors) 2. Set location of a actor
I would file this under a limitation of the engine but here comes the strange part:
When I replace the set location with spawning a new actor at that location the trace does a hit.
If there should be a reason that is not a bug a explanation would be great. If spawning a actor happens instantly (before the next index in the for loop) the set location should be instant too. After all spawning a actor is more complex then changing just a position.
Sweep of the Set location I have naturally turned off. I have tried this with LineTraceByChannel, MultiLineTraceByObjects, and MultiBoxTraceForObjects. It was always the same issue.