iSimObject pointmasses

For topics related to the creation of simulation objects (SimObjects). This includes development of aircraft, ground, and maritime vehicles.
Post Reply
CarloBlanch
Posts: 1
Joined: Fri Nov 02, 2012 7:18 pm

iSimObject pointmasses

Post by CarloBlanch »

Hello, I'm developinmg an external sim using SimObject API.
Starting from SimpleAirplane example, I was able to load fuel tanks, but now I need to insert the weight , and I need the pointmasses, Cabin Zones, Cargo compartments and so on.
How can I set the masses ? how can I use the IMassPropertiesV01 class?
Could Someone give us some example?

Thanks.
Mike Schroeter
Lockheed Martin
Posts: 341
Joined: Thu Jan 12, 2012 7:05 pm

Re: iSimObject pointmasses

Post by Mike Schroeter »

You can implement your mass property management any way you like within your solution. The IMassPropertiesV01 interface is not required, but can be used if you need to attach masses from another object. For example, the core P3D weapons system will use this interface to register weapon masses on your object, such as a missile hanging from your wing. You would need to implement a derived class from this interface to process the registered elements.

Hope this helps,
Mike
Post Reply