Added missing serialisation for box colliders
This commit is contained in:
parent
0df6e09ed6
commit
b14ddac1e6
|
@ -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:;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue