diff --git a/ChangeLog.md b/ChangeLog.md index 64d99fc76..042e68cec 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -76,6 +76,7 @@ Nazara Engine: - Fixed ENetCompressor class destructor not being virtual - ⚠️ Added a type tag parameter to Serialize and Unserialize functions, to prevent implicit conversions with overloads - Added Collider3D::ForEachPolygon method, allowing construction of a debug mesh based on the physics collider +- Fixed ConvexCollider3D::GetType returning Compound instead of ConvexHull. Nazara Development Kit: - Added ImageWidget (#139) diff --git a/src/Nazara/Physics3D/Collider3D.cpp b/src/Nazara/Physics3D/Collider3D.cpp index ff7253b5a..4dc2f6821 100644 --- a/src/Nazara/Physics3D/Collider3D.cpp +++ b/src/Nazara/Physics3D/Collider3D.cpp @@ -355,7 +355,7 @@ namespace Nz ColliderType3D ConvexCollider3D::GetType() const { - return ColliderType3D_Compound; + return ColliderType3D_ConvexHull; } NewtonCollision* ConvexCollider3D::CreateHandle(PhysWorld3D* world) const