This is the testing Godot forums! All forum posts unique to this forum will be deleted! Please use the main forums here for any posts you want to keep. All forum rules still apply.

How should these animations be handled?

DetonatressDetonatress Posts: 43Member
edited June 2020 in Programming

I have some animations on a 3D drone/robot model that must work at times for its separate body parts, and other times for all of them together. For example if the robot is flying, its wings must wiggle and its arms must wave, but if the player chooses to use a punch animation for either arm during flying, it should mix with the flying animation for the wings.

I have set up 2 types of flying animation just in case: one has the wings and arms wiggling, the other has wings wiggling but the arms have no animation data. I plan on putting conditions regarding whether the punch button has been pressed or not while W is also pressed, and may have to add if punch animations aren't running so the fly animation for punching isn't being used. Is this going to allow mixing punch animations with flying animation?

Also, do I have to use the AnimationTree or can I just switch things solely through code, including specifying blend amount?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.