IK Weapon System in Unity

Articulations and Poses

Forward Kinematics

  • Takes the whole pose as the INPUT (A,B,C,1,2,3)
  • Calculates the position of the end effector (E) as the OUTPUT

Inverse Kinematics

  • Takes a target position (T) as the INPUT
  • CALCULATES the pose required (A,B,C,1,2,3) for the end effector (E) to reach the target position T
  • Add a Rig Builder component in the root gameobject that contains the Animator component
  • Create an empty gameobject called IK and add a Rig component to it
  • Add IK to the Rig Layers in Rig Builder
  • Add a Two Bone IK component to L_Hand and add the gameobjects from hierarchy to inspector
yellow dots: Left Hand — blue dots: Right Hand

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Node JS vs PHP: A Quick Overview and Comparision

How to show your App Version from package.json in your Vue application

What Can You Expect Out Of Node JS?

Vue starts

Developing Vue Apps with the Quasar Library — WYSIWYG Editor Options

“Javascript” as a Newbie view

Guide to the Express Response Object — Redirection and Templates

Create an Image Slider App with Vue 3 and JavaScript

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Hernando Nieto Jaramillo

Hernando Nieto Jaramillo

Unity developer

More from Medium

Platformer: Player Animation Part 3

Adding laser attacks to our boss

Light layers in Unity HDRP

Day 102: Character Animation Part 5