Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

var swingAxis: Vector3;
Vector3 swingAxis;
swingAxis as Vector3

Description

The secondary axis around which the joint can rotate.

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