#However, when I start the game, this

1 messages · Page 1 of 1 (latest)

gleaming heart
#

What a pose haha

Your box effectors aren't showing in this pic anymore so they're likely being shot off somewhere far away in the direction the legs are pointing, should track down where the LegL and LegR target points for the IK are going and why/how they're getting there

sturdy garden
#

No, box effectors are underground where the leg SHOULD be

#

I have no idea why this works like as it does.

gleaming heart
#

Also another thing that may help, you might already be doing this but put the Hints for this IK behind the legs, the dinos legs/knees go backward compared to ours

sturdy garden
#

Thanks, modified.

gleaming heart
#

Weeeeeeird, does it behave like normal when you're not doing any scripting and just playing with the Ik manually?

sturdy garden
#

I'm not doing any scripting haha

gleaming heart
#

wtf lol

sturdy garden
#

Yeah exactly!

#

So it should be at the position where the target is right?

#

Can the problem be with the model?

#

Or as the rig is set up?

gleaming heart
#

Should be yeah although I vaguely remember having issues myself with things not lining up properly and I think the root cause was because of some parent / child relational weirdness with inherited transforms and stuff

sturdy garden
#

Hm interesting, what can I try?

#

I just pressed reset bind pose and this happened, not sure if it makes a difference

gleaming heart
#

😆 like an ostrich burying it's head in sand

#

Is you animator on the root on the dino? I assume so

Could try making an empty child under that with transform pos and rotation set to 0's then move your Ik rig stuff under that, also making sure their transform pos and rotations are 0'd out

sturdy garden
#

Yeah I think he heard that

sturdy garden
#

So I put the rig into the dino's root,

#

It was like that already, so nothing happens. Interesting.

gleaming heart
#

Yeah that's weird, hard to say what's going on

Looking at the rig closer it could be something up with that, I can see your IK chain goes Foot -> Tibia -> Femur but the rig hierarchy goes Foot -> Metatarsals -> Tibia -> Femur

That could be causing it to shit the bed too, I think IK chain needs to be a continuous hierarchy

sturdy garden
#

Yeah the bone hierarchy could be the problem, because the model was not made by me so I have no freaking idea whats femur and such. Let me quickly send it here so it'll become clearer.

#

This I believe is the upperleg bone (called femur)

#

This is the tibia

#

Metatarsal

#

And a juicy feet pic

gleaming heart
#

Try replace the foot tip with the metatarsal and see what happens

sturdy garden
#

Changing swimming styles by the second

gleaming heart
#

Poor lil guy is trying his best

sturdy garden
#

Also, I noticed that I can corrigate this by moving the target a bunch, but that sounds unhinged and counterintuitive

#

Can I somehow copy a position in the game view and then paste it in the scene?

gleaming heart
#

Yeah you can copy tranform value when in play mode and then stop and paste those same values

sturdy garden
#

I know but what values should I copy?

#

Or am I just guessing

#

By placing the target really far away

#

Thats for the left target if I wanted to corrigate

gleaming heart
#

Nah trying to compensate by moving the target far away will likely bite you in the arse later on, better to fix the problem at it's core

sturdy garden
#

I think I understand the issue. When I move the target, the limb doesn't bend, it just moves up-down-right-left)

#

So the bones might be set up incorrectly?

gleaming heart
#

I dunno, maybe, just have to dig into it deeper and try find out

Do you have any animations or anything working on the dino?

sturdy garden
#

Somehow I got this working earlier but I have no idea how.

gleaming heart
#

What happens when you rotate that target?

sturdy garden
#

It rotates the feet accordingly.

gleaming heart
#

I dunno tbh

If you haven't already, I'd say try get a basic IK rig working outside the dino and see if you can learn anything from that

sturdy garden
#

You mean a humanoid rig?

gleaming heart
#

yeah somethin like that or you could maybe get away with making up your own test arm/leg with cubes/capsules but tbf I've never actually tried that myself

sturdy garden
#

Yeah well this guy went smoothly

#

So its probably the bones I assume

#

So the core issue might be in Blender

gleaming heart
#

It's often a struggle working with this kinda rigging stuff or at least when it's something non standard

You could sense check the rotations on bones by setting the tool handles to be in local space and then checking each of the bones to see how they're rotated

sturdy garden
#

How should they be rotated?

#

0:0:0?

#

Dumb question actually

gleaming heart
#

I dunno, I never worked with dino rigs or 3 bone ik stuff

sturdy garden
#

Interesting if I set the femur's rotation to 0, I get the pose

#

I miss some wings from this pic actually.

#

So it uses the 'rest' pose of the dinosaur on start I guess

#

Which means...

gleaming heart
#

Go on.... 👀

#

I haven't had to do much that concerned rest poses but I'd imagine that's just the pose of the rig when no transformations are applied to any of the bones

sturdy garden
#

You remember the ostrich pose huh?

gleaming heart
#

how could I forget the ostrich

sturdy garden
#

Good, now comes the stronger one

#

Alright end of story, the king arrived.

gleaming heart
#

he works alright?

sturdy garden
#

Ye he does

#

Can't say I never treat 'em

gleaming heart
#

sweet, bin the other fucker 😄

sturdy garden
gleaming heart
#

what are the 4 hrs?

sturdy garden
#

Foot placement IK scripting

#

But the whole setup was wrong so of course it went to a waste

gleaming heart
#

oof that'll be fun, good luck, you might need it haha