wanadev / babylon-navigation-mesh

A library to move on navigation mesh with BABYLON.js
MIT License
73 stars 20 forks source link

projectOnNavmesh error #1

Closed tranlong021988 closed 7 years ago

tranlong021988 commented 7 years ago

hi, I'm trying to estimate a position value on navigation mesh using navigation.projectOnNavmesh , but I get this error

Navigation.js:113 Uncaught TypeError: A.dot is not a function
    at __class__._getProjectionOnNode (Navigation.js:113)
    at __class__.projectOnNavmesh (Navigation.js:87) 

I don't know reason why. Do you have any solution for this ?

clementlevasseur commented 7 years ago

Yes, I'll fix that right now ! Thanks

clementlevasseur commented 7 years ago

@tranlong021988 It is fixed, thanks for the issue

tranlong021988 commented 7 years ago

hi. Thank you for fix it so fast. But can you do me another favor ? I can not locate ./build/babylon-navigation-mesh.js . I know it was generated by Grunt but I don't know how to build it (I'm designer). Thank you