Physics3D/Collider3D: Fixed ConvexCollider3D::GetType()

This commit is contained in:
Lynix 2018-03-26 20:23:18 +02:00
parent 7f1419b34e
commit 0e3871b19e
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -355,7 +355,7 @@ namespace Nz
ColliderType3D ConvexCollider3D::GetType() const
{
return ColliderType3D_Compound;
return ColliderType3D_ConvexHull;
}
NewtonCollision* ConvexCollider3D::CreateHandle(PhysWorld3D* world) const