Notifications
Clear all

[Closed] My worst nightmare…biped!

Paul,

take a look at this file from the SDK.

you might find it useful, as it talks about the order for setting biped transforms amongst other things.

You simply forgot to add the magic numbers

bipedHeight = 80
biped.createNew (bipedHeight*1.00728) -90 [0,0,bipedHeight*0.966022]

Martijn

 PEN

Ah, the magic numbers, how could I forget those. I have now included eye of newt and a touch of bat wing as well to the potion, it is starting to work much better.

Thanks for the info guys. I look up the order in the SDK but I think that I already have that worked out. Gota love that it looks like the hierarchy is one thing but the actual parent is another.

 PEN

Any one have any good solutions to sorting out the scale of any given part of a biped, it is incredible as each part returns a different scale value when it is built. I’m trying to match a biped to a custom rig, all orientations are the same but when you try and set for instance the position of the second spine joint you can’t move it, you need to scale the parent. Gota love that idea in the first place:S So is there an easy way to set the scale to get the right length or do I just have to try and sort out the math for that?

Paul I wish i could help but the truth is I’ve tried numerous biped scripting ideas over the years, the one thing that always bites me on the ass is when i try to get anything to do with transforms.

 PEN

That is what I hear all the time. Well I have the scaling being set correctly so far for the spine. A huge pain in the butt.

What I did was get the length of the target joint, the length of the biped joint and added the difference to the scale and then set the scale transform with that first.

Now it is the clavicles that I’m having a little trouble with.

Just wait until you try to set the hips rotation/transform in figure mode and then go out of figure mode (via script).

…I think that was the one I had nightmares with doing the Biped -> BVH -> Puppetshop.

could have been something slightly different, but some of that stuff is really really broken in Biped

if you get the hips’s transform and then set it via script, it only sets on one axis from what i remember! useful!

 PEN

Well all this sounds promising. Paul Hormis has said that he has a script that will do this, I hope that he is willing to share as I’m seeing all sorts of issues.

 PEN

Thanks for the suggestion Kees, If I had my way I would be using a custom rig but it is needed for clients of a company that are using Biped. Not every one will listen to our rantings about custom rigs.

Page 2 / 3