Hi guys,
I am trying to create a behavior of like a magnet hand. (but without pinching, just touching)
They way I thought about it is :
When the hand collides with a 3d object, the object becomes child of the frontmost finger for example, and the local position of the object becomes (0,0,0).
So it's gonna have the feeling that it is stuck on the frontmost part of the hand and it's going to follow it.
Unfortunately I have problems implementing that in C#.
I know you guys have some examples of magnetic pinch. But do you have any examples of touching magnet?
Is my thinking correct?
Could you explain with a small code snippet (either pseudocode) how I could create this behavior ?
Do I have to create a new class like you guys did for the GrabbingHand.cs?
Thanks a lot!