Hello dear friends,
I am fully new at unity and need help.
Can u please tell me that How can I create a motion like in this video?
I create and rigged body in Cinema4D, exported to fbx format, ımported in unity, built rig and muscles.
Please help…
Thanks for all.
What have you tried so far? What you are asking can be pretty complex for someone new at unity, I honestly doubt you should start trying to make this?
But in general you want to hook up some sort of IK system to the model in question, and then read input on areas and have the input enable / disable / move / etc IK handles to move the corresponding rig.
So:
- Set up real-time IK on model
- Read input (finger) on screen to determine input (finger) position
- Get corresponding body part that is below input (finger)
- Have IK target / IK handle for that part follow / adjust based on the position of the input (finger)
And thats basically it. It requires you do have a decent rig, that is then set up to work in realtime.
You can look at: https://blogs.unity3d.com/2018/08/27/animation-c-jobs/
For some starter scripts for the IK and more info in general about one way to do this. There are multiple others.
You could also get FinalIK (costs) and do the same steps above too.
OR
You could just have a ton of animations for each “state” and trigger that animation based on input. Something like:
- read input (finger) and get what body part is under
- Read the input direction / delta to determine if the swipe is up, down, left, right etc
- Based on direction, execute correct animation such as “Move baby head from left to right” animation or whatever
That would be simpler in terms of coding etc, but take much longer in terms of asset production.
Thanks a million, GameDevCouple,
I created simple 2D platform games in Unity, watching YouTube videos. I wanted to jump 3D and I saw this app on my daughter’s smartphone. I decided to try. Yes, you are right, it is tooooo complicated.
Animations like this may be done using ragdoll, humanoid avatar and inverse kinematics. Watch some turials on those to get the idea, it’s not that hard.
I tried to make animations via Muscles&Animations by keyframes. After that, I tried to play animation frame by frame, but I did not achieve.
The link that you send me is soooo helpful. Thanks a million again.
Thanks a lot plex-nx :-)))