Jump to content

Rotation in VR


Maaco
 Share

Recommended Posts

I'm trying to create a character (using Lua) that will walk in the direction that my VR headset is looking, so I wonder if there's a way to get the offset between the (entity)cam and the VR Headset rotation? 

If I remember correctly there's no offset available at the moment for setting rotation in VR, right? (just for position: VR:SetOffset)

 
Link to comment
Share on other sites

Opt into the beta and there are functions supported that'll do this. Just note that it's still a beta so you encounter some bugs. Also Josh hasn't updated in in quite a while. ?

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

Link to comment
Share on other sites

29 minutes ago, reepblue said:

Opt into the beta and there are functions supported that'll do this. Just note that it's still a beta so you encounter some bugs. Also Josh hasn't updated in in quite a while. ?

Thanks for your reply, I’ll opt into the beta and have a look at it. Let’s hope the functionality (and API) for VR will be expanded in the (near) future.

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...