VR Grabbing System

I’m trying to create a simple virtual reality game. I’ve done everything except for the grabbing logic

I’ve kind of ran into a brick wall, I’m not really sure how to go about this, I’ve tried a bunch of things.

I have tried his

--(I've tried InputBegan too...)--
UIS.InputChanged:Connect(function(input)
	if input.KeyCode == Enum.KeyCode.ButtonR2 then
        print("R2") <-- this prints
		body["Right Arm"].Touched:Connect(function(hit)
			print(hit.Name) <-- this doesn't when im touching a part
		end)
	end
end)
--localscript btw

and using :getTouchingParts() returns {} also.

I have no idea what to do, is there any requirements for the .Touched event to work? like values or something

Thanks in advance

1 Like

You could use GetPartsInPart for it ( using GetTouchingParts is not recommended )

Thanks, I just fixed it already using GetPartBoundsInBox.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.