Setting parent of trigger breaks it.
I have an Bus custom class that is inheriting from Character.
I don't move this bus or anything, it just stays about 200 meters from player spawn.
I have an trigger that I created for bus' doors.
When I play the game everything works fine - I can walk to doors and execute a trigger. But I wanted to attach trigger to bus, so when I move bus, the door's trigger will move accordingly:
The problem is, without even moving bus, the trigger activates now as soon as game starts:
I get "Hello" at game start and multiple times after in different places of the map. The only thing that was changes is that I moved the BusDoorTrigger under Bus (Bus is not even moving yet). Removing it from Bus parent (without any change of position) "solves" the problem and attacking it again cause the problem again.
Is it an UE4 bug or I'm doing something wrong?
Follow this question
Once you sign in you will be able to subscribe for any updates here