c-frame/aframe-gltf-model-plus

Animation issue with waypoints on different levels

vincentfretin opened this issue · 3 comments

There seems to have some animation issue with waypoints on different levels, the destination is not correct.

Oh I understand what the issue is. It's only on the playground scene. When you click on a waypoint of a different level it actually change right away without animation to the clicked waypoint, then because of cursor-teleport it moves to the intersection of cursor and navmesh.
I actually didn't implement the animation when you click on a waypoint.
For this scene specifically, we can just decrease far from 100 to 5 on the raycaster.

In ae5658d I now use transition animation when clicking on a waypoint excepted for the first spawn point.

I reverted the transition animation in 0d7fafd. I remember now why I didn't enable it. :)