|
|
|
@ -404,8 +404,10 @@ public class RaceViewController extends Controller {
|
|
|
|
|
|
|
|
|
|
|
|
// Track player boat with camera
|
|
|
|
// Track player boat with camera
|
|
|
|
viewSubjects.add(boatModel);
|
|
|
|
viewSubjects.add(boatModel);
|
|
|
|
|
|
|
|
Platform.runLater(() -> {
|
|
|
|
view3D.trackSubject(boatModel);
|
|
|
|
view3D.trackSubject(boatModel);
|
|
|
|
view3D.setThirdPerson();
|
|
|
|
view3D.setThirdPerson();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// Track player boat with highlight
|
|
|
|
// Track player boat with highlight
|
|
|
|
AnimationTimer highlightTrack = new AnimationTimer() {
|
|
|
|
AnimationTimer highlightTrack = new AnimationTimer() {
|
|
|
|
|