Jump to content

Recommended Posts

Posted

After the new update, the default VR component no longer works by default. After some fiddling around, I discovered that it's actually missing a portion of the code in the SetOffset function. The default code says self.hmd:SetOffset(self:GetPosition(true), self.GetRotation(true)) which returns an error as shown in the image. Through trial and error I adjusted it to be self.hmd:SetOffset(self.hmd:GetPosition(true), self.hmd:GetRotation(true)) which worked, but upon further investigation, I discovered that the real issue is as shown in the second picture, where in place of a period, there should be a colon.

Screenshot.png

Screenshot 2.png

  • Thanks 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...