Using Inverse Kinematics for Realistic Tentacles
Events
Subscribe:  iCal  |  Google Calendar
San Antonio US   18, Jan — 21, Jan
London GB   21, Jan — 23, Jan
Taipei TW   24, Jan — 29, Jan
Zürich CH   31, Jan — 4, Feb
Leamington Spa GB   31, Jan — 3, Feb
Latest comments
by Protopop
4 hours ago

I love World Creator, especially the vegetation distribution pipeline. You can create some very realistic fields with it. Im going to check out impostors too - ive seen it a few times and wondered what it's about.

by Steve W
6 hours ago

Stupid Rental. My Zbrush that I haven't paid for an update in years and is perpetual Trumps that on all counts.

by Nameku
8 hours ago

Amazing!

Using Inverse Kinematics for Realistic Tentacles
15 June, 2017
News

For the past two years  has been sharing quality tutorials, mainly about game development and machine learning. One of his latest posts focuses on creating realistic tentacles. The article continues the artist’s series of articles on Inverse Kinematics. How does one apply this powerful technique to create realistic models?

Tentacle Rigging

When we built a robotic arm, each part was moving independently. Conversely, tentacles can bend. This is an essential feature that we cannot ignore if we are aiming for realism. Our tentacle will need to bend.

The Unity component which allows for this feature is called Skinned Mesh Renderer:

Unfortunately, Unity does not provide a way to create skinned mesh renderer from the editor. A 3D modelling software, such as Blender, is needed. The image below shows the model of the tentacle that will be used for the rest of this tutorial. Inside, it is visible a series of bones, one after the other. They are the objects that allows to bend the model.

Adding bones to a model, also known as rigging, goes beyond the scope of this tutorial. Blender 3D: Nood to Pro/Bones provides a good introduction to this subject.

Bones and Joints

The next step to allow inverse kinematics on a tentacle, is to attach a RobotJoint script to each bone. By doing so, we are giving to our inverse kinematics solver the ability to bend the tentacle.

In a normal octopus, each “joint” is able to rotate freely along all its three axes. The code designed in Inverse Kinematics for Robotic Arms, unfortunately, only allows joints to move on a single axis. Changing this would mean introducing a new level of complexity to our existing code. Instead, we can cycle the axis on the joints, so that joint 0 rotates on X, joint 1 rotate on Y, joint 2 rotates on Z, and so on. This can lead to unnatural behaviours, but you might never experience any issue if the bones are small enough.

 

Make sure to read the full article here. You can also check out other guides to Inverse Kinematics by Alan:

Source: Alan Zucconi

Leave a Reply

Be the First to Comment!

avatar
wpDiscuz