GMU:Tutorials/Networking/Controlling Skeletons in Unity with The Captury: Difference between revisions

From Medien Wiki
Line 65: Line 65:
centerd in the X,Y,Z Coordinate = 0,0,0. If you press Spacebar you can simply type in "Snap Cursor to Center" and click on the slected Field to reposition it.<br>
centerd in the X,Y,Z Coordinate = 0,0,0. If you press Spacebar you can simply type in "Snap Cursor to Center" and click on the slected Field to reposition it.<br>
This is Importanrt because when we create a new Object we want it to be fully centerd. (This will make life easier).
This is Importanrt because when we create a new Object we want it to be fully centerd. (This will make life easier).
[[File:readjust_cursor.png|thumb|320px||left|Set cursor to 0,0,0]]

Revision as of 16:23, 4 July 2016

Introduction

This tutorial will show you how to set up a rigged Model in Blender, how to export it into Unity and how to control it with The Cpatury's OSC Messages.

Shortcuts (Blender)

TAB = Toggling between Edit- and Object-Mode
Shift + Right-Click = Multi-Select
Spacebar = Open Finder -> type in commands and select them
X = delete
S = scale
Shift + D = Duplicate Object
Ctrl + J = Combine Objects to one Mesh
G = "Grab"


Creating the Rig in Blender


Step1
Open a new .blend File. Delete the Cube which is set as default with "x". Go to Add -> Armature and select Human (MetaRig).
If there is no Rig then go to: File -> User Prefrences and select the Addons Tab and type in "Rigify". Make sure the Addon is checked.
If not simply click on the square and Save User Settings at the bottom.

Create the Rig
Go to User Prefrences
Check if Rigify is activated
This is how the Rig looks






Step2
Select your Rig and switch to the Outliner on the right. Double click on metarig and type in the name you wish: e.g "Cubeboy".

Rename your Rig






Step3
Now switch back to the 3d-Rig and select it with right-click and press "TAB" to switch into "Edit Mode".
Because we don't need any fingers and unnacessary bones we are going to delete the Fingers: Hold "Shift" and right-click to multi-select the bones.
After you selected all fingers go and press "x" to delete the bones. Repeat the Process on the other side. We are also going to delete the "Heel bones".

Multiselect "Shift + Right Click"
Delete bones with "X"
Deleting the Heels






Our Rig should now look like this (I expanded the bone structure in the "outliner" by clicking on the plus sypmbol).

Bone Structure






Quick Helper
Sometimes you encounter that this little red and white rounded thing was moved accidently from it's original position which is actually the "Cursor"
centerd in the X,Y,Z Coordinate = 0,0,0. If you press Spacebar you can simply type in "Snap Cursor to Center" and click on the slected Field to reposition it.
This is Importanrt because when we create a new Object we want it to be fully centerd. (This will make life easier).

Set cursor to 0,0,0