【Added Key Constrained hotkey to key constrained values, allowing manual baking of physics.】
看到更新当中有一条这样的,这是物理关键帧可以烘焙的意思吗,具体该如何操作呢
4.3允许手动烘焙物理了吗,请问该怎么操作
- Düzenlendi
Hello! Here is how you can use key constrained to bake physics manually:
- This is a hotkey, so the first thing to do is open the hotkeys file and assign a hotkey to it. Save the file, then reload it in Spine. https://esotericsoftware.com/spine-settings#Hotkeys
- Next, Switch to animate mode and activate Key Constrained by pressing the hotkey. If you did this successfully a toat pop up should appear saying that key constraint is now on/off.
- Find a physics constraint and check "Deterministic" in the settings. This will ensure that when you stop at a certain frame physics don't bounce back but are set correctly. https://esotericsoftware.com/spine-physics-constraints#Deterministic
- Select the bones you want to bake and start keying them in the animation. Start from the end of the animation and paste the last keys at the beginning if the animation is supposed to loop, so that it starts by having the correct physics.
- Remove any constraint that is now unnecessary.
Hope it helps!
Keying by starting at the last frame is important. If you start from the first frame, the new keys you set will change the pose from physics. Also if you already have existing keys on the bone, setting new keys even by starting at the last frame will change the animation (unless the existing keys are stepped).
You can achieve baking this way, with the above caveats.
Normally when setting a key, you are keying the "local transform", which is the local transform before constraints are applied. When Key Constrained
is enabled, you are keying the "applied local transform", which is the local transform after constraints are applied.
The applied local transform was recently explained here:
https://esotericsoftware.com/forum/d/28174-用户界面中的transform面板某些情况信息不更新/7