Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

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

SliderJoint2D.angle

Switch to Manual
public float angle;

Description

The angle of the line in space (in degrees).

The line along which the joint can slide is specified by its world angle and optionally by endpoint limits along its length.

See Also: limits.