GeckoLib

GeckoLib

146M Downloads

[Suggestion] Add markers on animations

iglee42 opened this issue ยท 5 comments

commented

It could be could to add the fact that developper can add markers on animations to follow a point on the model.

The markers could be read in the code.

It can be useful to make an item renderer follow a point on the model when an animation is playing

commented

How would this work?

commented

You could add markers with a name and a position like bones in the animation file, and with the AnimationState you could do state.getMarkerPos(Name); and it returns the position of the Marker at the current frame of the animation

commented

What's to stop you from doing that already with bones?

commented

I don't find how to get bones position in the code

commented

Look at the getWorldSpacePosition and similar methods in GeoBone