[Closed] My worst nightmare…biped!
So it looks like it is figureMode that causes the problem, is this what ever one else has found? With it off things work as they should.
I have taken to storing the figure pose in a negative frame with a key on all limbs and tell skin to take it’s reference frame from that. Increasingly, i’ve had to do this to get around the bug that biped conveniently ‘forgets’ the skin pose flicking between the two modes.
this is for pre animation, should you need it back you will have to save out a .cpy with the reference pose in
Hmm, can that be loaded in when in figureMode? I could set the key, save the pose, delete the key, enter figureMode and load the pose.
Some hack code that works in a manual test. Set the transforms and set keys. Then run the code below. Any one try this before?
biped.createCopyCollection $'Bip01'.controller "PEN"
biped.copyPosture $'Bip01'.controller #posture true true true
biped.clearAllAnimation $'Bip01'.controller
biped.pastePosture $'Bip01'.controller #posture false "HorVerRotPlvsSpnLArmRArmLFingRFingLLegRLegLToeRToeHd01"
biped.deleteAllCopyCollections $'Bip01'.controller
does this store the pelvis faithfully? I had a biped with a pelvis bone slightly angled forward and the copy paste posture didnt capture this state. I ended up using biped.copybipPose and biped.pasteBipPose instead, as you can also add the COM paste options.
What is the pasteBipPose looking for in <ICP_MXBipedCopy>? Help isn’t very helpful.
it’s the copied pose you get when you call biped.copybippose. I roughly understand it as so –
copycol= biped.getcopycollection $.controller 1
icpmxbipcopy = biped.copybippose $.controller copycol #snapview
biped.pastebippose $.controller icpmxbipcopy false #pstdefault true true true false
The problem comes form extracting an <ICP_MXbipedCopy> from a cpy file, which is what i needed. There is little point copying from an existing pose if you are loading in a position, but the paste options actually did what i wanted rather than the other paste pose options that do not restore the pose faithfully. there was no way i could work out of doing this, hence i gave up
Well say this point I have told the client that it just can’t be done in a reliable way and to move on.
Thanks for the help guys.