Smooth VR Animations?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I am trying to make a smooth animation system for VR. A good example is VR Hands, where you can slowly press trigger and your hand starts to close. The more you press down, the further the hand closes. You can also just release to go back to normal.
  2. What is the issue? Include screenshots / videos if possible!
    I’m not sure how I would achieve this effect. How does one control an animation considering how far a button has been pressed?
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I couldn’t find any solutions on devforum.
1 Like

I am not sure how effective using Roblox’s Animation system will be, but you can try interpolating the TimePosition of an AnimationTrack using the squeeze value outputted by the trigger.

https://developer.roblox.com/en-us/api-reference/property/AnimationTrack/TimePosition

TimePosition = MaxLength * Force

Thanks, I’ll have a look at that.