Legacy Documentation: Version 5.1
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 var swingAxis: Vector3;

Description

The secondary axis around which the joint can rotate.

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