Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Move a lever between 2 points?

Discussion in 'VR' started by TheDodgerUk1, Nov 13, 2019.

  1. TheDodgerUk1

    TheDodgerUk1

    Joined:
    Dec 3, 2013
    Posts:
    61
    I have the laser pointer from the controller , I want to move a cube between 2 points , and control how much. So a click on it and drag it.

    How do I do this if I move the laser to the right or left of the target.

    Ie , want to lerp it between 2 points

    I not sure how to do this