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

Call Internet Computer Canister Smart Contracts In NodeJS

What is AMP? How Accelerated Mobile Pages Affect SEO? — AMP SEO 2019

Buefy — Form Field

They Told Me They Wanted a Mobile App. I Said No You Don’t Need That.

Article image

IndexedDB Manipulation with Dexie — Complex Queries

Better JavaScript — Different Kinds of Functions

Under the Hood: React Virtual DOM

Deno nuggets: Check if a file exists

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

Learn to code by making a 2D space shooter game.

Creating A Retro Game Over Behavior

2.5D Cert Req: Creating A Ledge Grab

What layout works for me in Unity