Closed ThChicken closed 5 months ago
I will close this issue. I was informed that this is indeed available as vi:set_mesh_visibility_mode(hmesh, FLAG), and verified that it does work. My apologies. I tried searching for the command but the underscores in the Lua command name didn't match my search query.
There does not appear to be an vessel script equivalent to SetMeshVisibilityMode(meshindex, MESHVIS####) in Lua. Vessel meshes can be seen only in external views by default, but it is not possible to set their visibility to the cockpit or anyplace else with the MESHVIS_#### camera mode constants.