unsafe drag drop test

- unsafe because of entity reference
- unsafe because of unsafe code lol
- fixes in parent/child system
This commit is contained in:
max
2024-10-15 22:29:19 +02:00
parent 5cc876fce9
commit ba88432e77
6 changed files with 79 additions and 14 deletions

View File

@ -45,7 +45,7 @@ namespace Nerfed.Runtime.Systems
LocalToWorld localToWorld = new(localToWorldMatrix);
Set(entity, localToWorld);
Log.Info($"Entity {entity} | local position {localTransform.position} | world position {localToWorldMatrix.Translation}");
//Log.Info($"Entity {entity} | local position {localTransform.position} | world position {localToWorldMatrix.Translation}");
}
ReverseSpanEnumerator<Entity> childEntities = World.OutRelations<ChildParentRelation>(entity);