diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2020-02-23 21:41:31 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2020-02-23 23:18:01 +0300 |
commit | 3b0638fe1c59d0065f5291265625d640301b4061 (patch) | |
tree | 366d6d1d826956ae8314b353a5d34354e73fae19 /modules/bullet/shape_bullet.cpp | |
parent | 223c5ef8a3d07aa9b7fe226764ac473319c2d9cd (diff) |
Changed default capsule axis to vertical
Co-authored-by: Hugo Locurcio <https://hugo.pro>
Diffstat (limited to 'modules/bullet/shape_bullet.cpp')
-rw-r--r-- | modules/bullet/shape_bullet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/bullet/shape_bullet.cpp b/modules/bullet/shape_bullet.cpp index 1690950049..6315964efd 100644 --- a/modules/bullet/shape_bullet.cpp +++ b/modules/bullet/shape_bullet.cpp @@ -122,8 +122,8 @@ btBoxShape *ShapeBullet::create_shape_box(const btVector3 &boxHalfExtents) { return bulletnew(btBoxShape(boxHalfExtents)); } -btCapsuleShapeZ *ShapeBullet::create_shape_capsule(btScalar radius, btScalar height) { - return bulletnew(btCapsuleShapeZ(radius, height)); +btCapsuleShape *ShapeBullet::create_shape_capsule(btScalar radius, btScalar height) { + return bulletnew(btCapsuleShape(radius, height)); } btCylinderShape *ShapeBullet::create_shape_cylinder(btScalar radius, btScalar height) { |