new ResetVRControls(position, controller, alignFacing, snap, camera)
- Source:
Constructor
Parameters:
Name | Type | Default | Description |
---|---|---|---|
position |
RelPosition | the position in the geometry of the observer |
|
controller |
Group | the group representing the controller |
|
alignFacing |
boolean |
false
|
option for updating the facing
|
snap |
boolean |
false
|
if alignFacing and snap are true, align the orientation to the "closest" relation around the y-axis |
camera |
VRCamera | the camera (giving the position of the observer) |