IK Weapon System in Unity Part 1

Simon Leen
2 min readOct 17, 2021

Objective: Set up Character for System

We start by getting the model for the Player. Then we can disable all the targets, enemies and so on in the sceen so that all that’s left in the Character Controller capsule in the center of the floor.

Following this, bring the model(FBX) into the scene and place it to match the capsule as we will be replacing the capsule with the model.

To use the man model we need to change the rig from generic to humanoid.

Next, move the main camera, character controller and controller script from the capsule to the man(the capsule was a prefab, so it needed to be unpacked first). The man(Player from here in) is now set in T-Pose and ready to progress.

To get animations, Mixamo is a great resource and we used some of these animations already in the 2.5D project. We will start with pistol idle.

After bringing the animation file(FBX) into Unity, the rig needs to be changed to humanoid just like before. We now have the Player in First Person view with a pistol idle animation as seen below in FPS and Third Person views.

--

--