How Forge Viewer's first person to roam forbids gravity

the new version of first person roaming provides gravity sensing, automatically finds the nearest floor, and starts roaming based on this floor. But sometimes you need to be able to roam freely in space without being affected by gravity. I don"t know how to prohibit gravity

Dec.13,2021

the user interface can switch between gravity and zero gravity by simply clicking the space bar.

if it's code:

//Extension
Viewer.loadExtension('Autodesk.BimWalk').then(function(res){res.tool.navigator.enableGravity(false)})
//Extensionextension.tool.navigator.enableGravity(false)

Shun: most of the features of viewerd are concentrated in Viewer3d.js, while extension, is included in extension. Some methods may not be included in the help documentation, but you can get your own extension, to see the properties provided or supported methods.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e8cd-2b786.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e8cd-2b786.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?