Package net.sf.fysix.engine

Examples of net.sf.fysix.engine.Force


  public Collection<Force> getForces() {
    List<Force> list = new ArrayList<Force>();
   
    Vector2d force = new Vector2d(0.0, -20000.0);
    force.scale(getForeStarboardEngineThrottle());
    list.add(new Force(new Vector2d(13.0, 0.0), force));
   
    force = new Vector2d(0.0, 20000.0);
    force.scale(getForePortEngineThrottle());
    list.add(new Force(new Vector2d(13.0, 0.0), force));
   
    force = new Vector2d(-14000.0, -14000.0);
    force.scale(getAftStarboardEngineThrottle());
    list.add(new Force(new Vector2d(-7.0, 5.0), force));
   
    force = new Vector2d(-14000.0, 14000.0);
    force.scale(getAftPortEngineThrottle());
    list.add(new Force(new Vector2d(-7.0, -5.0), force));
   
    return list;
  }
View Full Code Here


  public Collection<Force> getForces() {
    List<Force> list = new ArrayList<Force>();
   
    Vector2d force = new Vector2d(200000.0, 0.0);
    force.scale(getMainEngineThrottle());
    list.add(new Force(new Vector2d(-7, 0.0), force));
 
    return list;
  }
View Full Code Here

TOP

Related Classes of net.sf.fysix.engine.Force

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.