devAxeon

Trying to freeze VR camera position

Recommended Posts

Hi @trevordev !!

Thank you for the fix !

It works very well with the HTC Vive headset, but controllers follow the headset's moves. So the camera position is frozen, but the controllers meshes get away on moving and the don't respect the "real distance". I think it's because the controllers translation is not well removed according to the issue checklist.. I've tried to capture a video where you can see the difference between the controller position in the scene and in the vive's menu, but it's seems impossible so I let you test it if you can...

Share this post


Link to post
Share on other sites

@trevordev Sorry I did not understand your message 😕
But I made you a diagram explaining the situation:
The gray arrow is what is happening now,
What would be needed is represented by the green arrow (the same vector as the black one but relative to the current camera).

image.png.40f5c6fd2e278b1cab2d0b02c4695df2.png

Share this post


Link to post
Share on other sites

Ok, so when the controllers are moved, their position should not change at all in Babylon's worldspace and behave the same as a 3dof controller. I'll take another stab at getting this behavior, I'm a little busy at the moment but will try to get this sometime next week.

Share this post


Link to post
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.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.