Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


targetRotation

This is a Quaternion. It defines the desired rotation that the joint should rotate into.
Read time 1 minuteLast updated 8 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public Quaternion targetRotation { get; set; }