// Create a viewing platform and attach it to view and universe locale
ViewingPlatform viewingPlatform = new ViewingPlatform();
viewingPlatform.setUniverse(this.universe);
this.universe.getLocale().addBranchGraph(
(BranchGroup)viewingPlatform.getViewPlatformTransform().getParent());
view.attachViewPlatform(viewingPlatform.getViewPlatform());
// Set user point of view depending on yaw and pitch angles
updateViewPlatformTransform(viewingPlatform.getViewPlatformTransform(), yaw, pitch, scale);
return view;
}