WaveyCapes icon indicating copy to clipboard operation
WaveyCapes copied to clipboard

[ Suggestion ] WavyElytra

Open SzczurekYT opened this issue 2 years ago • 13 comments

Hello I really like your mod I I tought that adding this same functionality for elytra would be could. Just imagine the waving wings. They also aren't static slab. What do you think about that? If you would approve that maybe I could try to make this work and open PR?

SzczurekYT avatar Jul 01 '22 17:07 SzczurekYT

grafik I guess this answers it. I have thought about it, but it's a bit tricky(especially in the scope I am/was planning). My idea was to split the wings into parts, keep the outer edge at the vanilla fixed location, but let the inner edge be simulated. This has a "few" challenges:

  • split the wings into parts that still render correctly(that's where the mod is currently stuck, cause the wings render a bit more tricky than the cape)
  • be able to animate the inner and outer vertices independently of each other so they can be attached to the stick animation
  • update the stick animation to be able to handle this correctly(changed directions of gravity/that when flying slowly the elytra doesn't fold into itself)

But yea, if you have the experience to work on points of this, be my guest(here on Github/Discord).

tr7zw avatar Jul 01 '22 18:07 tr7zw

Basically animated it in a style how the bone part outside is static(where the elytra have the thick edge), but animated on the thin inner part.

tr7zw avatar Jul 01 '22 18:07 tr7zw

Cool idea, but for me it also seems complicated, I think that you are more experianced than me. Also I'm not sure if minecraft elytra is big enough to make this effect you are proposing visible. For me cape's physic applied to elytra would be enough.

SzczurekYT avatar Jul 01 '22 18:07 SzczurekYT

Just blindly applying the cape physics would look really odd when it's just flopping around you while you are "gliding" with it.

tr7zw avatar Jul 01 '22 18:07 tr7zw

Yeah, some isGliding check would fix that.

SzczurekYT avatar Jul 01 '22 19:07 SzczurekYT

I mean to have it when not gliding is like 90% of the way there. So might as well add slight waves to it then.

tr7zw avatar Jul 01 '22 19:07 tr7zw

Exactly, the gliding part is less important because it looks fine in vanilla. With this mod it's just so odd for me that when I walk elytra has no movement.

SzczurekYT avatar Jul 01 '22 19:07 SzczurekYT

What I meant with that is, when you can move and animate it while walking, then you might as well also animate it while flying. The issue is getting to this point at all.

tr7zw avatar Jul 01 '22 19:07 tr7zw

Ah ok

SzczurekYT avatar Jul 01 '22 19:07 SzczurekYT

Unsure about how far you are with this, but as a temporary solution you could do something similar to this https://www.curseforge.com/minecraft/mc-mods/elytra-physics

Only a suggestion tho, if you don't want to do it that's fine as well

Aces-and-Jacks avatar Jan 25 '23 09:01 Aces-and-Jacks

That actually looks like a nice solution for when walking. I had more in flight/ or start/stop of flight in mind. The recently added Simulation V2, which runs in 3d internally, might help with this. Still would require redoing the entire elytra model to be animate-able.

tr7zw avatar Jan 25 '23 19:01 tr7zw

So you would let the animation when walking part to Elytra Physics and you do the flying animation part ?

DelofJ avatar Feb 23 '23 00:02 DelofJ

I'm guessing this is still on pause

Aces-and-Jacks avatar Oct 26 '23 22:10 Aces-and-Jacks