diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-05-22 08:23:23 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-05-22 08:46:01 +0200 |
commit | f008e98ea2392070053f13cd3fcac64c5430588d (patch) | |
tree | 024f3f01b6c2efe6a01708388d3bd71cf642b71b /scene/resources/sphere_shape_3d.cpp | |
parent | 7b8c574401b3b3a211fd478eaa3fbb99b6dbb798 (diff) | |
download | redot-engine-f008e98ea2392070053f13cd3fcac64c5430588d.tar.gz |
Decrease SphereShape3D's default radius to 0.5 to match primitive mesh
The SphereMesh primitive mesh's size was recently decreased, but
unlike other primitive meshes, the sphere shape's radius wasn't
adjusted accordingly.
Diffstat (limited to 'scene/resources/sphere_shape_3d.cpp')
-rw-r--r-- | scene/resources/sphere_shape_3d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/sphere_shape_3d.cpp b/scene/resources/sphere_shape_3d.cpp index fc1e610e98..92efe3ce6f 100644 --- a/scene/resources/sphere_shape_3d.cpp +++ b/scene/resources/sphere_shape_3d.cpp @@ -83,5 +83,5 @@ void SphereShape3D::_bind_methods() { SphereShape3D::SphereShape3D() : Shape3D(PhysicsServer3D::get_singleton()->shape_create(PhysicsServer3D::SHAPE_SPHERE)) { - set_radius(1.0); + set_radius(0.5); } |