Hello. I’m attempting to make VR hands with collision and I’m using AlignPosition and AlignOrientation as many others have suggested. However, they just don’t seem to do anything. The Active
Property is disabled on the Instances, and they don’t actually change anything. I’ve looked at tutorials, and I’ve tried inserting it via the studio tool to see how the hierarchy works. I’ve copied the pattern, but it doesn’t seem to work for me. Here’s my code:
local a0 = Instance.new("Attachment")
a0.Parent = collision
local a1 = Instance.new("Attachment")
a1.Parent = hand
local alignPos = Instance.new("AlignPosition")
alignPos.Parent = collision
local alignRot = Instance.new("AlignOrientation")
alignRot.Parent = collision
alignPos.Attachment0 = a0
alignPos.Attachment1 = a1
alignRot.Attachment0 = a0
alignRot.Attachment1 = a1
Both hand
and collision
are regular parts. The hand part constantly follows the player’s controller UserCFrames.