Hydra-held object freak out on collisions?
Looking for some help with the hydra.
Setup: Hydra controls a cube "H", which is connected to another cube "T" via a fixed joint. T is my IK Mecanim target.
I'd like to be able to draw with my avatar sitting at a desk.
What I want to be able to do is have an object like a marker in the hand of the avatar. If I move the Hydra it moves H and T together. If the hydra goes through the desk the hand/marker should stop at the desk.
Currently I have managed to make this work... sort of. If you keep moving H down through the desk via the hydra it pulls T with it and stops at the desk for a moment, then snaps to the other side of the desk collider like it broke through.
The marker will also do the same thing, however my issues comes up when I want to drag the marker along to make a line, it starts freaking out and rotates around like crazy and just generally freaks out.
I wonder if there's a better collider than a cube to use for the marker to avoid it flipping out?
Thoughts on how to fix this?
Thanks in advance!
Setup: Hydra controls a cube "H", which is connected to another cube "T" via a fixed joint. T is my IK Mecanim target.
I'd like to be able to draw with my avatar sitting at a desk.
What I want to be able to do is have an object like a marker in the hand of the avatar. If I move the Hydra it moves H and T together. If the hydra goes through the desk the hand/marker should stop at the desk.
Currently I have managed to make this work... sort of. If you keep moving H down through the desk via the hydra it pulls T with it and stops at the desk for a moment, then snaps to the other side of the desk collider like it broke through.
The marker will also do the same thing, however my issues comes up when I want to drag the marker along to make a line, it starts freaking out and rotates around like crazy and just generally freaks out.
I wonder if there's a better collider than a cube to use for the marker to avoid it flipping out?
Thoughts on how to fix this?
Thanks in advance!
