Click or drag to resize

RigidBodyGetAxisLock Method

Note: This API is now obsolete.

Returns true if the specified linear or rotational axis is locked.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
[ObsoleteAttribute("GetAxisLock is deprecated. Use the AxisLockAngularZ property instead.")]
public bool GetAxisLock(
	PhysicsServerBodyAxis axis
)

Parameters

axis
Type: GodotPhysicsServerBodyAxis

[Missing <param name="axis"/> documentation for "M:Godot.RigidBody.GetAxisLock(Godot.PhysicsServer.BodyAxis)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Godot.RigidBody.GetAxisLock(Godot.PhysicsServer.BodyAxis)"]

See Also