** Also affects: nrtb/alpha
   Importance: Medium
     Assignee: Rick Stovall (fpstovall)
       Status: Triaged

You received this bug notification because you are a member of NRTB
Core, which is subscribed to New Real Time Battle.

  Clean up force application code.

Status in The New Real Time Battle Project:
Status in New Real Time Battle alpha series:

Bug description:
  In cpp/sim_engine/base_object/base_object.cpp:

  bool base_object::apply(int time, float quanta)
    // existing code (too ugly to live)
    velocity += (a * quanta) + (accel_mod * quanta);  
    rotation += (ra * quanta) + (torque_mod * quanta);
    // should be
    velocity += (a + accel_mod) * quanta;  
    rotation += (ra + torque_mod) * quanta;


  This new code will be easier to understand and may run better.

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~nrtb-core
Post to     : nrtb-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nrtb-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to