diff options
author | muiroc <ian.mario.dev@gmail.com> | 2018-06-13 00:53:28 +0200 |
---|---|---|
committer | muiroc <ian.mario.dev@gmail.com> | 2018-07-01 11:16:54 +0200 |
commit | 0a36e974daeac1875d4e7551f4ba88ba8e1d1851 (patch) | |
tree | 07f33341dad7b18c2607db265e360840f5233ee0 /servers/physics | |
parent | d2b75557a5dedf951ee036ca01af4f94bc059069 (diff) |
added cylinder shape support
Diffstat (limited to 'servers/physics')
-rw-r--r-- | servers/physics/physics_server_sw.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/servers/physics/physics_server_sw.cpp b/servers/physics/physics_server_sw.cpp index f2dbb635f8..6c25ad43f9 100644 --- a/servers/physics/physics_server_sw.cpp +++ b/servers/physics/physics_server_sw.cpp @@ -65,6 +65,11 @@ RID PhysicsServerSW::shape_create(ShapeType p_shape) { shape = memnew(CapsuleShapeSW); } break; + case SHAPE_CYLINDER: { + + ERR_EXPLAIN("CylinderShape is not supported in GodotPhysics. Please switch to Bullet in the Project Settings."); + ERR_FAIL_V(RID()); + } break; case SHAPE_CONVEX_POLYGON: { shape = memnew(ConvexPolygonShapeSW); |