PlayMaker Help & Tips > VR Help

How do I determine the object I hold using 'currentAttachedObject' command?

(1/1)

Ryan97:
Hi there!

I was facing problem in Unity SteamVR where I cannot determine the type of object hold by hand in the VR environment. Is 'currentAttachedObject' applicable for only null or non-null? Because when I specify (hand.currentAttachedObject == SpecificObjectName), it won't works; while if I just determine whether there are any object attached to hand using (hand.currentAttachedObject != null), it works fine. Any kind souls willing to help? Thanks a lot!

Navigation

[0] Message Index

Go to full version