Forum Discussion
DarkJames
12 years agoHonored Guest
Hydra+Mecanim IK= not colliding?
So I found out that Mecanim has some built-in Inverse Kinematic functions which are awesome.
I have some cubes that mimic the position of the hydra and I simply set the IK Goal to be where my cube is.
However my cubes can go through objects/walls and the avatar will reach towards them, however the avatar's hands will ALSO go through the walls! :( Is there a way to prevent the avatar from clipping through objects?
Any help is appreciated! :)
I have some cubes that mimic the position of the hydra and I simply set the IK Goal to be where my cube is.
However my cubes can go through objects/walls and the avatar will reach towards them, however the avatar's hands will ALSO go through the walls! :( Is there a way to prevent the avatar from clipping through objects?
Any help is appreciated! :)
2 Replies
Replies have been turned off for this discussion
- Quixotic7ProtegeHey DarkJames, what you need to do is make the Hydra's control an object, then have another object that has colliders on it an a joint that is locked to the object controlled by the Hydra, then use this object as your IK Goal as it will collide with the environment.
- DarkJamesHonored GuestOkay cool, which type of joint would you recommend? I tried a few but they don't seem to be working (may have to tweak some more numbers)
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 10 months ago
- 1 year ago
- 4 years ago