Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

Joint.anchor

Switch to Manual
public 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);