Now diplaying links between brushes
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user