Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

SliderJoint3D

Inherits: Joint3D < Node3D < Node < Object

A physics joint that restricts the movement of a 3D physics body along an axis relative to another physics body.

Description

A physics joint that restricts the movement of a 3D physics body along an axis relative to another physics body. For example, Body A could be a StaticBody3D representing a piston base, while Body B could be a RigidBody3D representing the piston head, moving up and down.

Properties

float

angular_limit/damping

0.0

float

angular_limit/lower_angle

0.0

float

angular_limit/restitution

0.7

float

angular_limit/softness

1.0

float

angular_limit/upper_angle

0.0

float

angular_motion/damping

1.0

float

angular_motion/restitution

0.7

float

angular_motion/softness

1.0

float

angular_ortho/damping

1.0

float

angular_ortho/restitution

0.7

float

angular_ortho/softness

1.0

float

linear_limit/damping

1.0

float

linear_limit/lower_distance

-1.0

float

linear_limit/restitution

0.7

float

linear_limit/softness

1.0

float

linear_limit/upper_distance

1.0

float

linear_motion/damping

0.0

float

linear_motion/restitution

0.7

float

linear_motion/softness

1.0

float

linear_ortho/damping

1.0

float

linear_ortho/restitution

0.7

float

linear_ortho/softness

1.0

Methods

float

get_param ( Param param ) const

void

set_param ( Param param, float