Tap and Move : Detection of Obstacle on Path

Hi Members,

I am new in Playcanvas. I wanted to implement the functionality where if I click/tap from laptop/phone, character moves in that direction. This is definitely available.

The additional functionality which I need is that if there is an obstacle like wall or table etc, character detect it and changes it direction to reach the destination.

Does anyone know if there is any template available in Playcanvas library ?

Hope to get assistance on this.


Hi @kunal_joshi and welcome! Unfortunately there is currently no easy way that is available for free. There is a paid solution for this, that is created by @Leonidas.

1 Like

Below another solution that is just updated.

1 Like

Thank you for sharing the valuable information Albertos.