Table of Contents

Class Generic6DofJoint3D

Namespace
Godot
Assembly
GodotSharp.dll

The Generic6DofJoint3D (6 Degrees Of Freedom) joint allows for implementing custom types of joints by locking the rotation and translation of certain axes.

The first 3 DOF represent the linear motion of the physics bodies and the last 3 DOF represent the angular motion of the physics bodies. Each axis can be either locked, or limited.

[GodotClassName("Generic6DOFJoint3D")]
public class Generic6DofJoint3D : Joint3D, IDisposable
Inheritance
Generic6DofJoint3D
Implements
Inherited Members

Constructors

Generic6DofJoint3D()

public Generic6DofJoint3D()

Methods

GetFlagX(Flag)

public bool GetFlagX(Generic6DofJoint3D.Flag flag)

Parameters

flag Generic6DofJoint3D.Flag

Returns

bool

GetFlagY(Flag)

public bool GetFlagY(Generic6DofJoint3D.Flag flag)

Parameters

flag Generic6DofJoint3D.Flag

Returns

bool

GetFlagZ(Flag)

public bool GetFlagZ(Generic6DofJoint3D.Flag flag)

Parameters

flag Generic6DofJoint3D.Flag

Returns

bool

GetParamX(Param)

public float GetParamX(Generic6DofJoint3D.Param param)

Parameters

param Generic6DofJoint3D.Param

Returns

float

GetParamY(Param)

public float GetParamY(Generic6DofJoint3D.Param param)

Parameters

param Generic6DofJoint3D.Param

Returns

float

GetParamZ(Param)

public float GetParamZ(Generic6DofJoint3D.Param param)

Parameters

param Generic6DofJoint3D.Param

Returns

float

HasGodotClassMethod(in godot_string_name)

Check if the type contains a method with the given name. This method is used by Godot to check if a method exists before invoking it. Do not call or override this method.

protected override bool HasGodotClassMethod(in godot_string_name method)

Parameters

method godot_string_name

Name of the method to check for.

Returns

bool

HasGodotClassSignal(in godot_string_name)

Check if the type contains a signal with the given name. This method is used by Godot to check if a signal exists before raising it. Do not call or override this method.

protected override bool HasGodotClassSignal(in godot_string_name signal)

Parameters

signal godot_string_name

Name of the signal to check for.

Returns

bool

InvokeGodotClassMethod(in godot_string_name, NativeVariantPtrArgs, out godot_variant)

Invokes the method with the given name, using the given arguments. This method is used by Godot to invoke methods from the engine side. Do not call or override this method.

protected override bool InvokeGodotClassMethod(in godot_string_name method, NativeVariantPtrArgs args, out godot_variant ret)

Parameters

method godot_string_name

Name of the method to invoke.

args NativeVariantPtrArgs

Arguments to use with the invoked method.

ret godot_variant

Value returned by the invoked method.

Returns

bool

SetFlagX(Flag, bool)

public void SetFlagX(Generic6DofJoint3D.Flag flag, bool value)

Parameters

flag Generic6DofJoint3D.Flag
value bool

SetFlagY(Flag, bool)

public void SetFlagY(Generic6DofJoint3D.Flag flag, bool value)

Parameters

flag Generic6DofJoint3D.Flag
value bool

SetFlagZ(Flag, bool)

public void SetFlagZ(Generic6DofJoint3D.Flag flag, bool value)

Parameters

flag Generic6DofJoint3D.Flag
value bool

SetParamX(Param, float)

public void SetParamX(Generic6DofJoint3D.Param param, float value)

Parameters

param Generic6DofJoint3D.Param
value float

SetParamY(Param, float)

public void SetParamY(Generic6DofJoint3D.Param param, float value)

Parameters

param Generic6DofJoint3D.Param
value float

SetParamZ(Param, float)

public void SetParamZ(Generic6DofJoint3D.Param param, float value)

Parameters

param Generic6DofJoint3D.Param
value float