Hi guys!
I have a question how to use ik animator in unity, I can't find a useful solution, thanks :sweat:
In unity use ik animator from spine export
- Düzenlendi
Sorry. What's that?
Like a human body can follow a point move &rotate
21 6月 2017, 14:21
I have a unity project have a 2d human shoot, and the shoot angle need to any direction. So how to use spine for unity runtime to solve this problems? Can u understand?
You can use 1 bone IK to cause the upper arm bone to point at a target bone. Then at runtime you just need to position the target bone where you want to shoot. See how aiming works in the latest spineboy project, which is shown in this video:
Spine 3.6 New Features - YouTube
You may need to download Spine again to get the latest spineboy project (eg if your spineboy doesn't have an aim bone). Or you can grab it out of the latest Spine Runtimes:
spine-runtimes/examples/spineboy at 3.6
Ah, I thought you meant something in Unity.
The new Spineboy Pro project does have this. See Nate's post.
Here is also an old bow-aiming example here with Unity code: Bow Aiming
Thank u Nate and Phatan, I'm first time touch the spine, but I also don't know how to work it, does have a detail unity project example?