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
GetFlagY(Flag)
public bool GetFlagY(Generic6DofJoint3D.Flag flag)
Parameters
flag
Generic6DofJoint3D.Flag
Returns
GetFlagZ(Flag)
public bool GetFlagZ(Generic6DofJoint3D.Flag flag)
Parameters
flag
Generic6DofJoint3D.Flag
Returns
GetParamX(Param)
public float GetParamX(Generic6DofJoint3D.Param param)
Parameters
param
Generic6DofJoint3D.Param
Returns
GetParamY(Param)
public float GetParamY(Generic6DofJoint3D.Param param)
Parameters
param
Generic6DofJoint3D.Param
Returns
GetParamZ(Param)
public float GetParamZ(Generic6DofJoint3D.Param param)
Parameters
param
Generic6DofJoint3D.Param
Returns
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_nameName of the method to check for.
Returns
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_nameName of the signal to check for.
Returns
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_nameName of the method to invoke.
args
NativeVariantPtrArgsArguments to use with the invoked method.
ret
godot_variantValue returned by the invoked method.
Returns
SetFlagX(Flag, bool)
public void SetFlagX(Generic6DofJoint3D.Flag flag, bool value)
Parameters
flag
Generic6DofJoint3D.Flagvalue
bool
SetFlagY(Flag, bool)
public void SetFlagY(Generic6DofJoint3D.Flag flag, bool value)
Parameters
flag
Generic6DofJoint3D.Flagvalue
bool
SetFlagZ(Flag, bool)
public void SetFlagZ(Generic6DofJoint3D.Flag flag, bool value)
Parameters
flag
Generic6DofJoint3D.Flagvalue
bool
SetParamX(Param, float)
public void SetParamX(Generic6DofJoint3D.Param param, float value)
Parameters
param
Generic6DofJoint3D.Paramvalue
float
SetParamY(Param, float)
public void SetParamY(Generic6DofJoint3D.Param param, float value)
Parameters
param
Generic6DofJoint3D.Paramvalue
float
SetParamZ(Param, float)
public void SetParamZ(Generic6DofJoint3D.Param param, float value)
Parameters
param
Generic6DofJoint3D.Paramvalue
float