donmccurdy / three-pathfinding

Navigation mesh utilities for three.js, based on PatrolJS.
https://three-pathfinding.donmccurdy.com/
MIT License
1.22k stars 135 forks source link

drag-and-drop demo #185

Closed soelen closed 1 year ago

soelen commented 1 year ago

A rough implementation, here are some thoughts:

soelen commented 1 year ago

So I thought about this pr and I think these steps would move this pr in the right direction:

What do you think?

soelen commented 1 year ago

As stated in the commit message: Demo can be seen now on mobile view as well since sidebar got some mobile capabilities. In created and placed a drag and drop area on top of the empty webgl canvas; it sort of looked empty when no gltf file has been selected.

As usual: Please let me know if changes need to be done / if I went to far etc.

soelen commented 1 year ago

IMHO: I kind of like the teleport demo. Showing that three-pathfnding has teleportation capabilities is a good idea I think. On a subjective note I also adore the model :)