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.
View and moderate all "codetickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
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
View and moderate all "codetickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: bre... (code.google.com)@gmail.com
The revision log says "for performance reasons".
View and moderate all "codetickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: vivian.m...@lineone.net
I'll take a look - I don't remember doing that.
View and moderate all "codetickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
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.
View and moderate all "codetickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: vivian.m...@lineone.net
(No comment was entered for this change.)
Status: NeedInfo
View and moderate all "codetickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: zakalawe@mac.com
(No comment was entered for this change.)
Status: Stalled