I made an actor for a bullet , and added a box collision component for it , i want to use it to overlap something but it always overlap with self sometimes. I want it to ignore self ,how do I do
Hello @baobao4435 ,’
you can just ignore Self actor by checking and compare it like this
In that image, if the Other overlapped actor is not equal to Self, it will print Hello. But if it is self actor, it won’t do anything.
Thank you, I tried this, and I print the actor instead of hello, the bullet it self still appear sometimes …
Hello, can you explain what is self? is the Self what you mean is the bullet itself or is the Actor that spawning the bullet?
If the Self what you mean is the actor that spawn the bullet, then you can also add additional check to make sure the bullet also ignore that actor who spawn it. You can do this by set the spawner actor as the owner of the bullet, then you can check that the overlapped actor is not equal to the owner (you can get the owner by GetOwner node).
If its not the case, could you explain in more detail like what you want and how you implement it to gather more information?
Thank you for so mush detailed answer, mr.spoon, it helped a lot,I might make some mistakes at the first time,the second time it worked .
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.