I have a Player
entity and an enemy Cactoro
entity in my scene. The enemy only has a collision component so that I can move through it as the player and many enemies can move through each other. The player has a rigidbody component (and a collision component). I want to have collision events between the player and the enemy.
To have two entities with only a collision component, the player also has a child entity with that setup. Neither the player or the child component (PlayerAwareness
) register the events.
Editor: PlayCanvas | HTML5 Game Engine
Checkpoint: b39d07d
Discord thread: Discord