Implemented a custom physics engine #316

Merged
direnbharwani merged 95 commits from SHPhysics into main 2023-01-23 15:55:45 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit b14ddac1e6 - Show all commits

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:;
}