Page 1 of 1

Reading sea wave level and direction

Posted: Thu Jun 28, 2018 9:18 am
by dadang
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

Re: Reading sea wave level and direction

Posted: Thu Jul 12, 2018 2:39 pm
by Clifton Crane
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.