Click or drag to resize

RigidBody2DSetGravityScale Method

Note: This API is now obsolete.

[Missing <summary> documentation for "M:Godot.RigidBody2D.SetGravityScale(System.Single)"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
[ObsoleteAttribute("SetGravityScale is deprecated. Use the GravityScale property instead.")]
public void SetGravityScale(
	float gravityScale
)

Parameters

gravityScale
Type: SystemSingle

[Missing <param name="gravityScale"/> documentation for "M:Godot.RigidBody2D.SetGravityScale(System.Single)"]

See Also