Home > All Other Interfaces > ITerrainDynamicObject > MotionStyle

MotionStyle

An enum that determines the characteristics of the object’s motion. The enum has the following values:

§   MOTION_GROUND_VEHICLE = 0
the object pitch and roll are determine by the terrain underneath the object.

§   MOTION_AIRPLANE = 1
the object rolls like an airplane on turns and its nose pitch points to the next waypoint.

§   MOTION_HELICOPTER = 2
the object pitch is always -30° and its roll is always 0.

§    MOTION_HOVER = 3
the object pitch and roll are both always 0.

 

JavaScript

 

 

 

 

MotionStyle

 

C#

 

 

 

 

DynamicMotionStyle MotionStyle { get; set; }

 

C++

 

 

 

 

HRESULT MotionStyle([out, retval] DynamicMotionStyle* pVal)

HRESULT MotionStyle([in] DynamicMotionStyle pVal)