Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

Joint.connectedBody

public Rigidbody connectedBody;

Description

A reference to another rigidbody this joint connects to.

If not set then the joint connects the object to a fixed point in world space.

Did you find this page useful? Please give it a rating: