Now diplaying links between brushes

This commit is contained in:
Antoine Pilote
2024-08-31 00:07:45 -04:00
parent 3959760627
commit 8aa41a1bf8
9 changed files with 82 additions and 15 deletions

View File

@@ -275,6 +275,11 @@ namespace Nuake {
{
PhysicsManager::Get().SetCharacterControllerPosition(entity, { x, y, z });
}
if (entity.HasComponent<BSPBrushComponent>())
{
PhysicsManager::Get().SetBodyTransform(entity, { x, y, z }, component.GetGlobalRotation());
}
}
}