Leadwerks 4.7 Beta Available
A new build is available on the beta branch on Steam.
- Updated to Visual Studio 2019.
 - Updated to latest version of OpenVR and Steamworks SDK.
 - Fixed object tracking with seated VR mode. Note that the way seated VR works now is a little different, you need to use the VR orientation instead of just positioning the camera (see below).
 - Added VR:SetRotation() so you can rotate the world around in VR.
 - The VRPlayer script has rotation added to the left controller. Press the touchpad to turn left and right.
 - Any arbitrary rotation will work, including roll and pitch.
 
Here are the offset commands:
static void VR::SetOffset(const Vec3& position);
static void VR::SetOffset(const float x, const float y, const float z);
static void VR::SetOffset(const float x, const float y, const float z, const float pitch, const float yaw, const float roll);
static void VR::SetOffset(const Vec3& position, const Vec3& rotation);
static void VR::SetOffset(const Vec3& position, const Quat& rotation);
static Vec3 VR::GetOffset();
static Vec3 VR::GetRotation();
static Quat VR::GetQuaternion();
- 
					
						
					
							
								
							
							
								2
							
					
						
					
				 
			
		
							
8 Comments
Recommended Comments