- Home /
Strange Quadruped Root Motion and Rigidbody Physics
Hello all,
Before I get to my question, I would like to say that I have tried tirelessly to solve this using resources already available for about two days. I have done countless google searches, and I have not been able to solve it. So to whomever is able to help, thank you in advance.
I have a quadrupedal character (a wolf) for which I am having a lot of trouble applying physics to. The problem is that no matter what I use, a character controller or rigidbody, I am unable to satisfy all of the required criteria. Here is what I am trying to satisfy:
- The player must be quadrupedal
- The player should align to whatever surface it is touching (like any rigidbody)
- The player should be able to interact with other objects
- The player should be affected by gravity
- (bonus, optional) The feet of the player should be grounded on bumpy terrain (wanted, but not the main point of this post)
I have tried with character controllers and rigidbodies to accomplish this, each having their own downfalls.
Character Controller:
- Does not fit the shape of the model whatsoever, as it is not a human.
- Does not align itself to the surface it is grounded on
Rigidbody:
- Physics are wonky
I believe the rigidbody is the desired solution. However, as previously stated, the physics are not working as they should (roughly half of the time). When I lock the x- and z-rotations on the rigidbody, movement and gravity work fine, but the player does not align to slopes. When I unlock them, the results shown in the video below are what happen.
I have messed around with settings in the rigidbody, animator, animation root motion, etc. I have done this many times for human characters, but for this model, it just will not work.
Once again, I truly appreciate any help that will be offered. Thank you in advance. :)
Video: https://youtu.be/gKEmHLMBuJk
Your answer
Follow this Question
Related Questions
Character Controller Pushes Car With Wheel Colliders? 0 Answers
Non-convex MeshCollider with non-kinematic Rigidbody? 2 Answers
Gravity still being applied with unity CharacterController 0 Answers
How to let a GameObject generate force but not be affected by certain forces? 0 Answers
Is a RigidBody required when using CharacterCollider? 1 Answer