:orphan:

.. ****************************************************************************
.. CUI
..
.. The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
..
.. The use, dissemination or disclosure of data in this file is subject to
.. limitation or restriction. See accompanying README and LICENSE for details.
.. ****************************************************************************

WsfChangeAttitude
-----------------

.. class:: WsfChangeAttitude inherits WsfOrbitalEvent

**Input type:** :doc:`change_attitude<../change_attitude>`

WsfChangeAttitude_ is used to change the platform's orientation to one of the supported :class:`orientation types<WsfSpaceOrientation>`.

.. method:: static WsfChangeAttitude Construct(WsfOrbitalEventCondition aCondition, WsfSpaceOrientation aOrientation)

   Static method to create a WsfChangeAttitude_ event using a :class:`WsfSpaceOrientation` parameter.

.. note:: If an entity or geo-point orientation type is specified (:method:`WsfSpaceOrientation.ENTITY_WITH_SOLAR_CONSTRAINT`, :method:`WsfSpaceOrientation.ENTITY_WITH_NADIR_CONSTRAINT`, :method:`WsfSpaceOrientation.ENTITY_WITH_ORBIT_PLANE_CONSTRAINT`, or :method:`WsfSpaceOrientation.POINT_WITH_ORBIT_PLANE_CONSTRAINT`) and the referenced :class:`WsfPlatform` or :class:`WsfGeoPoint` is invalid, the event will not execute.