Restore RigidBody2/3D, SoftBody names in physics
This commit is contained in:
parent
dc4193b478
commit
f8cc88fab3
61 changed files with 616 additions and 618 deletions
|
|
@ -8,7 +8,7 @@ public partial class _CLASS_ : _BASE_
|
|||
public const float Speed = 300.0f;
|
||||
public const float JumpVelocity = -400.0f;
|
||||
|
||||
// Get the gravity from the project settings to be synced with RigidDynamicBody nodes.
|
||||
// Get the gravity from the project settings to be synced with RigidBody nodes.
|
||||
public float gravity = ProjectSettings.GetSetting("physics/2d/default_gravity").AsSingle();
|
||||
|
||||
public override void _PhysicsProcess(float delta)
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ public partial class _CLASS_ : _BASE_
|
|||
public const float Speed = 5.0f;
|
||||
public const float JumpVelocity = 4.5f;
|
||||
|
||||
// Get the gravity from the project settings to be synced with RigidDynamicBody nodes.
|
||||
// Get the gravity from the project settings to be synced with RigidBody nodes.
|
||||
public float gravity = ProjectSettings.GetSetting("physics/3d/default_gravity").AsSingle();
|
||||
|
||||
public override void _PhysicsProcess(float delta)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue