Unity Virtual Reality: Question about input

General Tech Bugs & Fixes 2 years ago

0 1 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

What I am trying to achieve at this point, is the following: Let's say that we have a Cube game object and a SteamVR player. The Cube object is on position y = 100 and the SteamVR player is on position y = 0.

I want to make it possible that the player can zoom in on the game object by doing the following:

-> Pressing both triggers and bringing the controllers close to each other will zoom in.

-> Pressing both triggers and bringing the controllers away from each other will zoom out.

I think u understand the effect that I want to create.

For my project I am using the SteamVR Unity plugin.

Could someone say me if this is possible and give me some insight on how to do this?

Thanks in forward.

0 views
0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.