diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-12 12:17:40 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-12 13:39:55 +0100 |
commit | 1206bdb71b6618601c9fe14e7054e369c81f96f8 (patch) | |
tree | 86bfea5600deee8198096138d9fb95f70a824223 /doc/classes/StaticBody.xml | |
parent | 49eef1180b441d6778d1b03168226bee7c815f3d (diff) |
Remove deprecated PhysicsBody friction and bounce parameters
They were replaced in 3.1 by PhysicsMaterial properties via #12403.
Diffstat (limited to 'doc/classes/StaticBody.xml')
-rw-r--r-- | doc/classes/StaticBody.xml | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/doc/classes/StaticBody.xml b/doc/classes/StaticBody.xml index ce7584ecda..280b95d182 100644 --- a/doc/classes/StaticBody.xml +++ b/doc/classes/StaticBody.xml @@ -12,20 +12,12 @@ <methods> </methods> <members> - <member name="bounce" type="float" setter="set_bounce" getter="get_bounce"> - The body's bounciness. Values range from [code]0[/code] (no bounce) to [code]1[/code] (full bounciness). - Deprecated, use [member PhysicsMaterial.bounce] instead via [member physics_material_override]. - </member> <member name="constant_angular_velocity" type="Vector3" setter="set_constant_angular_velocity" getter="get_constant_angular_velocity" default="Vector3( 0, 0, 0 )"> The body's constant angular velocity. This does not rotate the body, but affects other bodies that touch it, as if it was in a state of rotation. </member> <member name="constant_linear_velocity" type="Vector3" setter="set_constant_linear_velocity" getter="get_constant_linear_velocity" default="Vector3( 0, 0, 0 )"> The body's constant linear velocity. This does not move the body, but affects other bodies that touch it, as if it was in a state of movement. </member> - <member name="friction" type="float" setter="set_friction" getter="get_friction"> - The body's friction, from 0 (frictionless) to 1 (full friction). - Deprecated, use [member PhysicsMaterial.friction] instead via [member physics_material_override]. - </member> <member name="physics_material_override" type="PhysicsMaterial" setter="set_physics_material_override" getter="get_physics_material_override"> The physics material override for the body. If a material is assigned to this property, it will be used instead of any other physics material, such as an inherited one. |