1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

Cylinder support in Godot Physics 3D

Backport of cylinder support from Master.
This commit is contained in:
PouleyKetchoupp
2021-01-23 13:32:59 -07:00
parent 9a89782996
commit c6fbd55ca9
9 changed files with 1062 additions and 68 deletions

View File

@@ -72,7 +72,7 @@ RID PhysicsServerSW::shape_create(ShapeType p_shape) {
} break;
case SHAPE_CYLINDER: {
ERR_FAIL_V_MSG(RID(), "CylinderShape is not supported in GodotPhysics. Please switch to Bullet in the Project Settings.");
shape = memnew(CylinderShapeSW);
} break;
case SHAPE_CONVEX_POLYGON: {