Hello. I was watching a tutorial about a simple game and it uses trigger. This is the code that confuses me.
Now my question is, what are these arguments in that TriggerEnter function. Im just learning so dont mind this question...THANKS...
OtherActor - Actor that triggered the event
OtherComp - Component of "OtherActor" that triggered the event
OtherBodyIndex - Index number of actor that triggered and event if there is more then one in trigger area
bFromSweep - Is true, if actor that triggered the event was sweeping thru trigger area (https://www.unrealengine.com/en-US/blog/moving-physical-objects)
SweepResult - Structure containing all the collision data of object entering the trigger area, precise positional data and so on (http://api.unrealengine.com/INT/API/Runtime/Engine/Engine/FHitResult/)
In UE4 terminology "Other" in event arguments means "something" that triggered the event
answered Dec 13 '18 at 04:45 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here