Hi,
We would like to use P3D for ship simulation.
Is there any method to get information regarding the sea wave level and direction (x, y, z direction) around a ship?
Thanks, and Regards
Dadang
Reading sea wave level and direction
-
- Lockheed Martin
- Posts: 1207
- Joined: Tue Sep 25, 2012 2:34 pm
Re: Reading sea wave level and direction
Hello,
The PDK offers a few ways of retrieving surface information for both land and water. The IBaseObject interface offers the GetSurfaceInformation function which will give you elevation and normal information. There is also the ISurfaceQueryManagerV400 PDK service that allows you to query surface information at a given world location rather than relative to an entity.
The PDK offers a few ways of retrieving surface information for both land and water. The IBaseObject interface offers the GetSurfaceInformation function which will give you elevation and normal information. There is also the ISurfaceQueryManagerV400 PDK service that allows you to query surface information at a given world location rather than relative to an entity.
Clifton Crane
Prepar3D® Software Engineer Sr.
Prepar3D® Software Engineer Sr.