aboutsummaryrefslogtreecommitdiff
path: root/modules/bullet/shape_bullet.cpp
diff options
context:
space:
mode:
authorAndreaCatania2017-11-23 14:42:28 +0100
committerAndreaCatania2017-11-23 14:42:28 +0100
commit0a0800ebec9f8a5c6158b317e417c19995c027cc (patch)
tree317621d44a712a205e8659a333c746d90f0af638 /modules/bullet/shape_bullet.cpp
parentf2d07d5aeb9c591c5b361a3d346f049e003948d3 (diff)
downloadgodot-0a0800ebec9f8a5c6158b317e417c19995c027cc.tar.gz
godot-0a0800ebec9f8a5c6158b317e417c19995c027cc.tar.zst
godot-0a0800ebec9f8a5c6158b317e417c19995c027cc.zip
Removed shape margin
Diffstat (limited to '')
-rw-r--r--modules/bullet/shape_bullet.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/bullet/shape_bullet.cpp b/modules/bullet/shape_bullet.cpp
index 49150484d..f51af93a3 100644
--- a/modules/bullet/shape_bullet.cpp
+++ b/modules/bullet/shape_bullet.cpp
@@ -45,6 +45,7 @@ ShapeBullet::~ShapeBullet() {}
btCollisionShape *ShapeBullet::prepare(btCollisionShape *p_btShape) const {
p_btShape->setUserPointer(const_cast<ShapeBullet *>(this));
+ p_btShape->setMargin(0.);
return p_btShape;
}