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.
iSimObject pointmasses
-
- Lockheed Martin
- Posts: 341
- Joined: Thu Jan 12, 2012 7:05 pm
Re: iSimObject pointmasses
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
Hope this helps,
Mike