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 anchor: Vector3;

Description

The Position of the anchor around which the joints motion is constrained.

The Position is defined in local space.

	hingeJoint.anchor = Vector3 (2, 0, 0);