I have an object with some bones, how i can modify via C# scripting the position, rotatio, scale of each bones? The rig is not human, so i can’t use the mechanim (also i not want to animate the model using animations, i want to dinamicly create the animation via scripting).
Thanks in advance.
Main thing, that rig model, i.e. all vectices were attached to bones. Further there is nothing difficult. When you add your object (simply drag fbx) to a scene and you will open object, you will see: SkinnedMeshRenderer and tree of objects with only Transform component. This tree is also your rig and names coincide with names of bones. Further change Transform in the necessary bone and you will see change of position/rotation of parts of model. I hope that it will help you.