Removed stutter
This commit is contained in:
@@ -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);
|
||||||
view3D.trackSubject(boatModel);
|
Platform.runLater(() -> {
|
||||||
view3D.setThirdPerson();
|
view3D.trackSubject(boatModel);
|
||||||
|
view3D.setThirdPerson();
|
||||||
|
});
|
||||||
|
|
||||||
// Track player boat with highlight
|
// Track player boat with highlight
|
||||||
AnimationTimer highlightTrack = new AnimationTimer() {
|
AnimationTimer highlightTrack = new AnimationTimer() {
|
||||||
|
|||||||
Reference in New Issue
Block a user