Global transforms #11
Labels
No Label
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SeanOMik/lyra-engine#11
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The ECS has relationships now, meaning that global transforms can be implemented.
update_global_transforms
system that updates global transforms for children of entities.Global transforms for entities will make it easier to collect the world transforms for entities, especially ones in
SceneGraphs
(which have a ecs world backing it.I implemented this as WorldTransforms. I haven't fixed
lyra-resource
orlyra-game
to use these new changes yet but will soon. When testing the update system I discovered a bug in the ECS and it took me way too long to track it down. I did find it eventually, fixing it in commit 4162150c5f; the problem was such a stupid mistake.This is now implemented. The only issue is that entities inside the
SceneGraph
's backing world do not have interpolated transforms. Additionally, thesystem_update_world_transforms
system for updating transforms is manually ran by the renderer for the scene's world.#12 tracks the issue with transforms for entities in a
SceneGraph
not being interpolated