Hey!
I am having major issues trying to get my entity to rotate correctly.
It is a kind of squid entity but does not extend the squid class.
The way the entity works is it has an internal clock lasting 50 ticks.
ticks 1 - 10 it selects a move vector, and "rotates" to it
ticks 10 - 50 it shoots off in that direction and legs animate.
However, I've hit a huge roadblock in trying to get the entity to orientate correctly during the first 10 ticks.
I have tried things such as just setting the Y rotations to its current y rotation + 45deg, but it does not spin in a circle as you'd expect it just flickers left and right weirdly.
I cannot for the life of me figure this out and would really appreciate help from anyone who can.
My github:
https://github.com/Ricy40/Caerula/blob/master/src/main/java/com/ricy40/caerula/entity/custom/LulaEntity.java
You will probably want to pull it to investigate
My discord is Ricy40#3215 if you prefer to communicate there.