#I am trying to make selectable objects
1 messages · Page 1 of 1 (latest)
I have the cursor under the left elbow gizmo but instead the object that gets selected is one of the fingers
You may need to normalize obj.position - mouseWorldRay.origin before you can use it in the dot product.
And the same for closest.position - mouseWorldRay.origin, but I would recommend saving the closest dot product as well, so you don't have to compute it again.
I've got it working, just leaving these files as a note for myself 'cause I solved it outside my workspace