[go: nahoru, domu]

Skip to content

Ik Grounder Based on Unity's Package Animation Rigging

License

Notifications You must be signed in to change notification settings

rob1997/Grounder

Repository files navigation

Grounder

Ik Grounder Based on Unity's Package Animation Rigging

Setup

  1. Import Animation Rigging Package From the Package Manager
    image
  2. Put a Rig Builder Component on Your Bipedal GameObject
    image
  3. Set Up Ik Rig
    One Ik Rig (Child of Bipedal GameObject) with Three Constraints as Children
    image
    image
    Reference Foot Ik Rig in Rig Builder from Step 2
  4. Set Up Two Bone Constraints for Each Leg
    image
    image
    image
    THE ORDER OF COMPONENTS AND GAMEOBJECTS MUST MATCH FOR THE CORRECT ORDER OF EXECUTION
    Extact Transform Constraint Must Always Preceed Two Bone/Multi Position Constraint and Pelvis Constraint GameObject Must Always Preceeed Two Bone Ik Constraints Objects, This Matters because of the Burst Compiler Execution Order
    Set Hint Weight on Both Two Bone Ik Component to 0, to stop Leg Bending in unwanted way
  5. Set Foot Forward For Feet (Create A Transform Under Each Ik Constraint Facing the Forward of Foot, Used for Relative IK Rotation)
    image
    image
  6. Set Up Grounder on Bipedal Object (where Animator Component is)
    image
    Bonus. You Can setup Animation Curves of "LeftFootUp" and "RighFootUp" for optimal Ik Rotation, Foot only rotates to Surface When It's on Ground!
    image
    image

About

Ik Grounder Based on Unity's Package Animation Rigging

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages