character sample refactor, each character can have their own conversation dialogs

This commit is contained in:
Turánszki János
2024-09-25 09:14:21 +02:00
parent 824d6e7e75
commit f497052f87
13 changed files with 369 additions and 425 deletions
+1 -1
View File
@@ -2616,7 +2616,7 @@ namespace wi::scene
}
Capsule CharacterComponent::GetCapsule() const
{
return Capsule(Sphere(position, width), height);
return Capsule(position, XMFLOAT3(position.x, position.y + height, position.z), width);
}
void CharacterComponent::SetFacing(const XMFLOAT3& value)
{