Added missing serialisation for box colliders

This commit is contained in:
Diren D Bharwani 2022-12-30 00:42:10 +08:00
parent 0df6e09ed6
commit b14ddac1e6
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ namespace YAML
switch (colliderType)
{
case SHCollisionShape::Type::SPHERE: collider->AddSphereCollisionShape(1.0f); break;
case SHCollisionShape::Type::BOX: break;
case SHCollisionShape::Type::BOX: collider->AddBoxCollisionShape(SHVec3::One); break;
case SHCollisionShape::Type::CAPSULE: break;
default:;
}