Follower collider

how to add physics to the follower so that it collides with objects and the player

Can you upload the full code not a screenshot ,so i can understand and practice what you want to do ?

code: https://jsfiddle.net/Lteoo/08jfur3s/

sorted out.

1 Like

Great!how you add collider for enemy and player ?What function do you use?I can’t guess it.

I used the this.physics.world.enable(enemy) doing this, the enemy already has physical