• Editor
  • How to rig a snake controlled by code

Dear everyone, i am having a task to create a snake (a boss in our game) whose head can be control by a bone. The developer will control this bone to bite objects randomly in the game. It will be easy if I just create the snake animation in Spine and the dev simply "call" this animation in the code. However, he asks me if i have a way to animate the body of the snake smoothly and the bones of the body will follow the head so that he can move the head freely to bite at any positions.
could you guys please help me to solve this challenge?

Related Discussions
...

Now this is a fascinating challenge! can you provide some sketch or mockup of the snake position? (bonus points if you show both the normal position and an attack position)

I think you can easily achieve this either with path constraints or transform constraints, but seeing a visual mockup would greatly help define the best course of action.