Table of Contents

Class PinJoint3D

A physics joint that attaches two 3D physics bodies at a single point, allowing them to freely rotate.

Inheritance
PinJoint3D

Remarks

A physics joint that attaches two 3D physics bodies at a single point, allowing them to freely rotate. For example, a RigidBody3D can be attached to a StaticBody3D to create a pendulum or a seesaw.

Properties

params/bias

The force with which the pinned objects stay in positional relation to each other. The higher, the stronger.

var params/bias : float = 0.3

Property Value

float

Remarks

params/damping

The force with which the pinned objects stay in velocity relation to each other. The higher, the stronger.

var params/damping : float = 1.0

Property Value

float

Remarks

params/impulse_clamp

If above 0, this value is the maximum value for an impulse that this Joint3D produces.

var params/impulse_clamp : float = 0.0

Property Value

float

Remarks

Methods

get_param(int)

Qualifiers: const

Returns the value of the specified parameter.

float get_param(int param)

Parameters

param int

set_param(int, float)

Sets the value of the specified parameter.

void set_param(int param, float value)

Parameters

param int
value float