group = new BranchGroup();
group.setCapability(Group.ALLOW_CHILDREN_EXTEND);
group.setCapability(Group.ALLOW_CHILDREN_WRITE);
Synchronizer3D synchronizer3D = universe3D.getSynchronizer();
gravityTask = new GravityTask(state.getGravityTask());
synchronizer3D.schedule(gravityTask);
}
@Override
public Group getGroup() {
return group;