Reading sea wave level and direction

dadang
Posts: 1
Joined: Thu Jun 28, 2018 7:12 am

Reading sea wave level and direction

Postby dadang » Thu Jun 28, 2018 9:18 am

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

Clifton Crane
Lockheed Martin
Posts: 838
Joined: Tue Sep 25, 2012 2:34 pm

Re: Reading sea wave level and direction

Postby Clifton Crane » Thu Jul 12, 2018 2:39 pm

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.
Clifton Crane
Prepar3D® Software Engineer


Return to “SimConnect Interface Questions”

Who is online

Users browsing this forum: No registered users and 2 guests