View3D tracks selected boat at fixed distance, pitch, and relative yaw
#story[1190]
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user