Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How could I get my VR Hands working with AlignPosition and AlignOrientation?

Asked by
jundell 106
3 years ago
Edited 3 years ago

I'm working on a simple VR game where you have hands that you can use to interact with stuff. Currently, I am trying to make everything a bit smoother using the AlignPosition and AlignOrientation constraints. These are not getting the result I wanted; it looks more like they are connected with a spring. All the parts in the hand are massless aswell. Here is a quick video (The tiny white parts are where the hands should be, and what the constraints are connected to): Video

I've been adjusting everything I can with the properties, they are in dictionaries like so:

local AlignOrientation = {["RigidityEnabled"] = false, ["MaxTorque"] = '10000', ["Responsiveness"] = '200', ["PrimaryAxisOnly"] = false, ["MaxAngularVelocity"] = '10000'}
local AlignPosition = {["RigidityEnabled"] = false, ["Responsiveness"] = '200', ["MaxVelocity"] = '500', ["MaxForce"] = '750000'}
--these properties are pretty much random since I'm not sure what to set them as

Thank you in advance!

Answer this question