
Additive Cycle for steps/stairs
Moderators: Víctor Paredes, Belgarath, slowtiger
Additive Cycle for steps/stairs
Okay another problem, i'm trying to have this guy walk down the stairs with an additive cycle... i added the additive only to the main bone that moves the whole thing back and forth as well as the target bones of the feet. for some reason, when cycling, the main bone moves too far down the steps as you can see. if i could somehow get it to work so it would really just take the last frame of the cycle as an end frame it would all be solved...


Re: Additive Cycle for steps/stairs
It's been a while since I used additive cycles so take this with a grain of salt, but maybe the problem is that the target bones for the legs have a global position so the cycle doesn't work well. This script by sam could help you if that's the problem. It can turn the animation of your target bones from global to local (relative to the character), so you can cicle the guy changing its posture normally and only make the translation of the character an additive cycle.
https://www.lostmarble.com/forum/viewtopic.php?t=34513
Cool animation by the way.
https://www.lostmarble.com/forum/viewtopic.php?t=34513
Cool animation by the way.
Re: Additive Cycle for steps/stairs
Thanks!Daxel wrote: ↑Thu Dec 08, 2022 2:40 pm It's been a while since I used additive cycles so take this with a grain of salt, but maybe the problem is that the target bones for the legs have a global position so the cycle doesn't work well. This script by sam could help you if that's the problem. It can turn the animation of your target bones from global to local (relative to the character), so you can cicle the guy changing its posture normally and only make the translation of the character an additive cycle.
https://www.lostmarble.com/forum/viewtopic.php?t=34513
Cool animation by the way.
I tried the script but can't for the life of me get it to work. It does SOMETHING and i follow the instructions but yea...
I uploaded the file here in case anyone wants to take a look: https://drive.google.com/file/d/1g_YRI3 ... share_link
Re: Additive Cycle for steps/stairs
Got it to work with the help of a member of a Discord channel.
Memo to self: in the future for steps use layer transform instead of moving the root bone, it'll make it much easier
Memo to self: in the future for steps use layer transform instead of moving the root bone, it'll make it much easier

Re: Additive Cycle for steps/stairs
I have a modified version below. The things changed were:
#1 - Use totally linear steps - otherwise errors when trying to align just get exacerbated with additive cycles. (original Steps in Red)
#2 - Set Markers on extreme steps for timing refs
#3 - Align target bones on steps during first Cycle (markers yellow <-> yellow). Add additive cycle
#4 - Break children (manual) and Align root bone on first Cycle frame #3. Then add back children. Add additive cycle
#5 - Tweak and review alignment (first Cycle) to correct the Target and Root bones drift in later cycles
#6 - Add additive cycle for remaining bones
note: The new steps were created with a straight line and the Curve Profile tool, which has odd kinks. But you can update the Red steps to be closer to it - then hide/del it.

https://drive.google.com/file/d/1qZ495G ... sp=sharing
#1 - Use totally linear steps - otherwise errors when trying to align just get exacerbated with additive cycles. (original Steps in Red)
#2 - Set Markers on extreme steps for timing refs
#3 - Align target bones on steps during first Cycle (markers yellow <-> yellow). Add additive cycle
#4 - Break children (manual) and Align root bone on first Cycle frame #3. Then add back children. Add additive cycle
#5 - Tweak and review alignment (first Cycle) to correct the Target and Root bones drift in later cycles
#6 - Add additive cycle for remaining bones
note: The new steps were created with a straight line and the Curve Profile tool, which has odd kinks. But you can update the Red steps to be closer to it - then hide/del it.

https://drive.google.com/file/d/1qZ495G ... sp=sharing
Moho 14.3 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.3 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam
Sam
Moho 14.3 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam
Sam