Click or drag to resize

HingeJointSetFlag Method

Note: This API is now obsolete.

If true, enables the specified flag.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
[ObsoleteAttribute("SetFlag is deprecated. Use the Motor__enable property instead.")]
public void SetFlag(
	HingeJointFlag flag,
	bool enabled
)

Parameters

flag
Type: GodotHingeJointFlag

[Missing <param name="flag"/> documentation for "M:Godot.HingeJoint.SetFlag(Godot.HingeJoint.Flag,System.Boolean)"]

enabled
Type: SystemBoolean

[Missing <param name="enabled"/> documentation for "M:Godot.HingeJoint.SetFlag(Godot.HingeJoint.Flag,System.Boolean)"]

See Also