• Manual
  • Scripting API
  • Changelog
  • License
🏷️ Namespaces
  • Zigurous.Animation
🧱 Classes
  • AnimatedMaterialTiling
  • AnimatedSprite
  • AxisConstraintExtensions
  • BillboardRotation
  • Blink
  • FollowPath
  • InputRotation
  • LockPosition
  • LockRotation
  • LockScale
  • LockTransform
  • LookAtMouse
  • MatchPosition
  • MatchRotation
  • MatchScale
  • MatchTransform
  • Move
  • Orbit
  • Rotate
  • RotateAround
  • Scale
  • SmoothDamp<T>
  • SmoothDampFloat
  • SmoothDampQuaternion
  • SmoothDampVector2
  • SmoothDampVector3
  • SmoothFollow
  • SmoothLookAt
  • TransformConstraintExtensions
  • UpdateBehaviour
  • Vector2AnimationCurve
  • Vector3AnimationCurve
  • Vector4AnimationCurve
🗂️ Structs
  • AnimatorParameter
  • Timing
  • Timing01
  • TimingRange
  • TimingRange01
🎚️ Interfaces
  • IAnimationCurve<T>
📋 Enums
  • AxisConstraint
  • FollowPath.LoopType
  • TransformConstraint
  • UpdateMode

MatchRotation

Class in Zigurous.Animation

Declaration

public sealed class MatchRotation : MonoBehaviour

Description

Matches the rotation of the transform to another transform.

Properties

spaceThe coordinate space the transform is updated in.
constraintsThe rotation axes to match.
matchedTransformThe target transform to match the rotation to.