summaryrefslogtreecommitdiff
path: root/scene/resources/physics_material.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/physics_material.h')
-rw-r--r--scene/resources/physics_material.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/physics_material.h b/scene/resources/physics_material.h
index dfb2d1480b..d302800823 100644
--- a/scene/resources/physics_material.h
+++ b/scene/resources/physics_material.h
@@ -39,9 +39,9 @@ class PhysicsMaterial : public Resource {
OBJ_SAVE_TYPE(PhysicsMaterial);
RES_BASE_EXTENSION("phymat");
- real_t friction = 1;
+ real_t friction = 1.0;
bool rough = false;
- real_t bounce = 0;
+ real_t bounce = 0.0;
bool absorbent = false;
protected: