Create with C# a dynamic capsul with dynamic animation?

Godot Version

Godot.Net Version 4.2.1

Question

I’m new with Godot and love .NET. I love it to write my own class librarys.

Can anyone show me please a script (in C#?) to create a capsul and add and play a animation like “crounch” for the Capsul?

I try this since many hours, and google can’t help me. Sorry.

Thank you!!! :slight_smile:

Thank you, but, this is a simply 2D moving object, not animating object.

I need a script for a 3d Object, like capsule, created dynamic in C#. And the capsule-object need a animation (like crounch).

Yes, and i ask again: Can i make a script (with C#) that create a 3D object, like a capsule, and create dynamik a animation, like crounch?