-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dragon doesn't always face to the target point #14
Comments
The dragon also flies backwards when travelling to a station in another world. |
I'll try to work on this issue during the next days to see if there is a fix for this. |
@tschaffter @NoChanceSD @Phiwa I'm working on this. And try to update it for a flying dragon. |
In theory, you just set the yaw for the dragon and that's what we are already doing. I think, there might be an overflow (360+x =x) though since the calculation works, but only for some directions. |
@Phiwa She said something like old = 0, new = 1 Then can get a value for forward direction angle. Not sure if Minecraft even can adjust 3D angle (720 in 3D space). |
But this is basically what we are already doing... |
I set a station and traveled to it successively from a position at the North, South, West, and East of the station. Each time the dragon was facing correctly to the station point. However, the dragon is not facing the destination point when leaving from North-East, South-East, South-West, and North-West.
The station in the image below is located on the top of the emerald block.
The text was updated successfully, but these errors were encountered: