Version: 5.6 (switch to 2017.1b)
LanguageEnglish
  • C#
  • JS

Script language

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

CharacterJoint.swingAxis

Switch to Manual
public Vector3 swingAxis;

Description

The secondary axis around which the joint can rotate.

CharacterJoint.swing1Limit are the limits of the rotation allowed around this axis.