Collision Confusion #2734
Unanswered
cemalgnlts
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Here are the properties of my bomb class:
It can only interact with solid (ground).
This is the child
Entity
I added to myBomb
object when myBomb
object exploded:It can only interact with the
Player
object.Also
Player
object:The problem is that when the explosion entity explodes, it interacts with the bomb object. However, it should only interact with the
Player
object and not with theBomb
, which is its parent.If I tell the
Explosion
object to interact with theSolid
(ground) and not thePlayer
:This way it only interacts with the ground, not its parent
Bomb
object. In fact, when I saidPlayer
, it should only interact with thePlayer
.Of course, since I'll be using if, it's okay to interact with objects I don't want. Maybe I made a mistake somewhere.
Beta Was this translation helpful? Give feedback.
All reactions