Yücel Aydın
Yücel Aydın

Reputation: 45

How to add Navmesh to existing Aframe (v1.3.0)?

I don't want the player to go through walls. I tried aframe extras but it doesn't work in current aframe version. Is there any other way or solution that works in Aframe 1.3.0?

Upvotes: 3

Views: 1613

Answers (1)

Synn
Synn

Reputation: 1178

You can use the simple-navmesh-constraint components from AdaRoseCanon ( it's working fine with a-frame 1.3.0):

Source code here: https://github.com/AdaRoseCannon/aframe-xr-boilerplate

Demo here: https://aframe-xr-starterkit.glitch.me/

Upvotes: 6

Related Questions