View3D tracks selected boat at fixed distance, pitch, and relative yaw

#story[1190]
This commit is contained in:
Connor Taylor-Brown
2017-09-08 12:58:06 +12:00
parent b59eca1a8b
commit 23eabed3ff
3 changed files with 13 additions and 6 deletions
@@ -82,7 +82,7 @@ public class HostController extends Controller {
AnimationTimer rotate = new AnimationTimer() {
@Override
public void handle(long now) {
subject.setHeading(subject.getHeading() + 0.1);
subject.setHeading(subject.getHeading().getAngle() + 0.1);
}
};
rotate.start();