2d dynamic obstacle

Hello,
does anyone know how to make a 2d dynamic obstacle work?
I have followed the example and tried to add the dynamicobstacle script but it says that a 3d collider or mesh is needed.
Is there any other way or a way to change the script for the 2d.
Thank you in advance

I have changed all the Collider —> Collider2D in the DynamicGridObstacle and it works fine.

1 Like

Hey, can you specify a little bit more your solution? I’m trying to do this to. It seems that the support to 2d colliders was add to the DynamicGridObstacle script, but still doesn’t work for me. Thank you