Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ArticulationReducedSpace

Stores coordinates in reduced space.
Read time 2 minutesLast updated 4 days ago

Definition

  • Type: Constructor
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule

ArticulationReducedSpace(float)

Stores coordinates in reduced space.
public ArticulationReducedSpace(float a)

Parameters

Coordinate of the first degree of freedom.

Remarks

Used in conjunction with joint parameter accessors in reduced coordinate space, for instance: ArticulationBody.jointPosition.
Currently, an articulation body can have up to three degrees of freedom:
  • a fixed joint has no degrees of freedom;
  • a revolute joint has one rotational degree of freedom -- rotation around the X axis, called twist;
  • a prismatic joint has one translational degree of freedom -- translation along X, Y, or Z axis;
  • a spherical joint has up to three, depending on the amount of unlocked motions. Currently, if only one axis is unlocked, then the amount of degrees of freedom will be reported as 1, and 3 otherwise. The order of axes is as follows: first is twist, then the two swing values.

ArticulationReducedSpace(float, float)

Stores coordinates in reduced space.
public ArticulationReducedSpace(float a, float b)

Parameters

Coordinate of the first degree of freedom.

Coordinate of the second degree of freedom.

Remarks

Used in conjunction with joint parameter accessors in reduced coordinate space, for instance: ArticulationBody.jointPosition.
Currently, an articulation body can have up to three degrees of freedom:
  • a fixed joint has no degrees of freedom;
  • a revolute joint has one rotational degree of freedom -- rotation around the X axis, called twist;
  • a prismatic joint has one translational degree of freedom -- translation along X, Y, or Z axis;
  • a spherical joint has up to three, depending on the amount of unlocked motions. Currently, if only one axis is unlocked, then the amount of degrees of freedom will be reported as 1, and 3 otherwise. The order of axes is as follows: first is twist, then the two swing values.

ArticulationReducedSpace(float, float, float)

Stores coordinates in reduced space.
public ArticulationReducedSpace(float a, float b, float c)

Parameters

Coordinate of the first degree of freedom.

Coordinate of the second degree of freedom.

Coordinate of the third degree of freedom.

Remarks

Used in conjunction with joint parameter accessors in reduced coordinate space, for instance: ArticulationBody.jointPosition.
Currently, an articulation body can have up to three degrees of freedom:
  • a fixed joint has no degrees of freedom;
  • a revolute joint has one rotational degree of freedom -- rotation around the X axis, called twist;
  • a prismatic joint has one translational degree of freedom -- translation along X, Y, or Z axis;
  • a spherical joint has up to three, depending on the amount of unlocked motions. Currently, if only one axis is unlocked, then the amount of degrees of freedom will be reported as 1, and 3 otherwise. The order of axes is as follows: first is twist, then the two swing values.