Configuring a project for manipulation
- Last UpdatedDec 06, 2023
- 1 minute read
First, activate the manipulation system.
The commons module includes a manipulation.enabled define, set by default to false, but the cfg_commons at the moment does not expose it.
The only way to modify the default setting and activate the manipulation system is by custom.xml file or a configuration file.
Code example
Here is the code to put into the custom.xml.
<struct name="manipulation">
<item name="enabled" type="sbool" value="true" description="" constraints="" />
</struct>
For a proper manipulation-based experience, you may also need to modify:
<patch name="localAvatar" physicsActive="false"/>
<if condition="@def:vr.enabled@+@def:system.stereoMode@==openvr+@def:system.stereoMode@==oculus">
<patch name="player0_room" visible="false"/>
</if>
Related topics
-
Manipulation selection mode