x3dom / x3dom

X3DOM. A framework for integrating and manipulating X3D scenes as HTML5/DOM elements.
http://x3dom.org
Other
815 stars 271 forks source link

Navigation issue: Viewpoint position shook violently when standing on a box #1188

Open microaaron opened 2 years ago

microaaron commented 2 years ago

@andreasplesch Here is the example: https://jsitor.com/0-HD6tU1V

microaaron commented 2 years ago

@andreasplesch If the box is outside the screen, it won't be picked as the ground. https://github.com/x3dom/x3dom/blob/master/src/nodes/Navigation/modes/DefaultNavigation.js#L79

microaaron commented 2 years ago

Similarly, we can't look up and move forward, because the floor is outside the screen,