Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

SteamVR Circular Drive with Velocity or Momentum?

Discussion in 'Scripting' started by SebastiaanVW, Mar 5, 2020.

  1. SebastiaanVW

    SebastiaanVW

    Joined:
    Jan 1, 2017
    Posts:
    4
    Hey Guys

    I've gone through the options of SteamVR Circular drive and I can't seem to find a way to keep the velocity or momentum the object has when I release my grab button. This makes all door freeze in time as soon as I let go, which feels really odd. It also makes all doors feel really heavy. Am I missing something? Do any of you guys have an idea how I can get that to work (without having to refer to another toolkit)

    thanks in advance,

    Sebastiaan
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    37,210
    Not sure how that circular drive works but maybe there's a momentum setting on it, or else perhaps you have to add a RigidBody to it and configure it to have angular drag.

    Alternately you can make your own script on it to notice when it is moved and maintain motion for a short while after it is let go.
     
  3. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    37,210
    Please don't necro-post. It's against forum rules. Start your own post. It's FREE!

    When you post remember that we cannot read your mind or see your screen.

    How to report your problem productively in the Unity3D forums:

    http://plbm.com/?p=220

    This is the bare minimum of information to report:

    - what you want
    - what you tried
    - what you expected to happen
    - what actually happened, especially any errors you see
    - links to documentation you used to cross-check your work (CRITICAL!!!)

    If you post a code snippet, ALWAYS USE CODE TAGS:

    How to use code tags: https://forum.unity.com/threads/using-code-tags-properly.143875/