character sample refactor, each character can have their own conversation dialogs
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user