Click or drag to resize

RotateWithCompass Class

Rotates a game object with the compass.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Motive.Unity.MapsRotateWithCompass

Namespace:  Motive.Unity.Maps
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class RotateWithCompass : MonoBehaviour

The RotateWithCompass type exposes the following members.

Constructors
  NameDescription
Public methodRotateWithCompass
Initializes a new instance of the RotateWithCompass class
Top
Methods
  NameDescription
Public methodSetPointAtLocation
Top
Fields
  NameDescription
Public fieldAxis
Define the axis of rotation.
Public fieldOffset
Additional offset to apply to the rotation.
Public fieldPointAtLocation
Optionally set a specific location for the object to point at.
Public fieldRelativeToUser
If true, rotate the object based on the relative bearing between the user and the target.
Public fieldUseDampening
If true, applies additional dampening to the rotation to reduce noise.
Public fieldUseMagneticHeading
Top
See Also