i have an entity that needs to turn around to reach a certain angle, right? i made the entity rotate with turnentity() so that it would point at the angle, right. but sometimes, the entity is a few angles from reaching it's rotation, and instead of turning a few angles, the entity turns the other way - the long way - to reach it's destinated rotation. how do
i make an entity find the shortest way to rotate. any help appreciated.
i make an entity find the shortest way to rotate. any help appreciated.