LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

ConfigurableJoint.targetRotation

Switch to Manual
public Quaternion targetRotation;

Description

This is a Quaternion. It defines the desired rotation that the joint should rotate into.