Menu

#420 Submodel property list is missing mass-slug or any other way to determine mass/weight of a submodel upon impact

Done
nobody
Expired (325)
2018-10-01
2011-08-29
Anonymous
No

Originally created by: brentdh... (code.google.com)@gmail.com
Originally owned by: vivian.m...@lineone.net

*What steps will reproduce the problem?*
1. Create and release a ballistic submodel, include the <weight> parameter
2. Check the Internal Property list or the node via Nasal
3. The "mass-slug" property of submodels, which was previously available in the property list, is now missing.  There is no way to determine the mass or weight of the submodel, even though that property is in the submodel's XML file.

The cause appears to be lines 191-193 in AIBallistic.cxx which are remarked out.  See http://fossies.org/unix/privat/FlightGear-2.4.0.tar.gz:a/flightgear-2.4.0/src/AIModel/AIBallistic.cxx

*What is the expected output? What do you see instead?*

Is it possible to get either mass-slug back, or SOME way to determine the mass and/or weight of a ballistic submodel?

This value was previously available in earlier version of FG, ver. 1.9 certainly.  Since the <weight> property is documented it makes sense to have some way to report this information for further use.

*What FlightGear version are you using (when using GIT version, please
mention date)?*

2.4.0 under windows.

Discussion

  • Anonymous

    Anonymous - 2011-09-18

    Originally posted by: zakalawe@mac.com

    Vivian, any idea why the tie of mass-slug was comment out? I'm about to check the revision logs.

    Owner: vivian.m...@lineone.net

     
  • Anonymous

    Anonymous - 2011-09-18

    Originally posted by: bre... (code.google.com)@gmail.com

    The revision log says "for performance reasons".

     
  • Anonymous

    Anonymous - 2011-09-18

    Originally posted by: vivian.m...@lineone.net

    I'll take a look - I don't remember doing that.

     
  • Anonymous

    Anonymous - 2011-09-19

    Originally posted by: vivian.m...@lineone.net

    In order to maximize framerate, the number of tied proprties for AIBallistic objects was kept to a minimum in the days when we were desperate for every bit of performance we could find. If there _really_ is a requirement to expose the mass of a ballistic object, then this tied property can be uncommented. We should be aware, however that AIBallistic objects have a signignifant impact on framerate.

     
  • Anonymous

    Anonymous - 2011-09-19

    Originally posted by: vivian.m...@lineone.net

    (No comment was entered for this change.)

    Status: NeedInfo

     
  • Anonymous

    Anonymous - 2012-11-26

    Originally posted by: zakalawe@mac.com

    (No comment was entered for this change.)

    Status: Stalled

     
  • xDraconian

    xDraconian - 2018-10-01
    • Labels: --> Expired
    • Status: Stalled --> Done
     

Log in to post a comment.

MongoDB Logo MongoDB