Hi,
How do I implement the teleportation and controller functionality in VR with react-babylon.
<Engine
antialias={true}
adaptToDeviceRatio={true}
canvasId="my-canvas"
>
<Scene id="my-scene">
<arcRotateCamera
name="arc"
target={new Vector3(0, 1, 0)}
alpha={-Math.PI / 2}
beta={0.5 + Math.PI / 4}
radius={2}
minZ={0.001}
wheelPrecision={50}
/>
<directionalLight
name="dl"
direction={new Vector3(0, -0.5, 0.5)}
position={new Vector3(0, 2, 0.5)}
/>
<icoSphere
name="counterClockwise"
position={new Vector3(-0.5, 1, 0)}
radius={0.2}
flat={true}
subdivisions={1}
>
<standardMaterial
diffuseColor={Color3.Yellow()}
specularColor={Color3.Black()}
/>
</icoSphere>
<icoSphere
name="clockwise"
position={new Vector3(0.5, 1, 0)}
radius={0.2}
flat={true}
subdivisions={1}
>
<standardMaterial
diffuseColor={Color3.FromInts(255, 165, 0)}
specularColor={Color3.Black()}
/>
</icoSphere>
<ground
name="ground"
width={50}
height={50}
subdivisions={8}
>
<standardMaterial
diffuseColor={Color3.FromInts(255, 165, 0)}
specularColor={Color3.Black()}
/>
</ground>
<vrExperienceHelper
webVROptions={{ createDeviceOrientationCamera: false }}
teleportEnvironmentGround={true}
enableTeleportation={{ floorMeshName: "ground" }}
enableInteractions={true}
/>
</Scene>
</Engine>