Skip to content
Discussion options

You must be logged in to vote

What is SomeStruct in this context? Is it a bundle with both a Transform and WallType field? You need to add a Transform component as well to your entities.

Entities do not spawn with any component by default. You should amend your code to add a Transform to the entities you are spawning.

Other question: Do you know your system is running (add a print as the first line of the system to check)? Is your game in the AppState::Game state?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by volodalexey
Comment options

You must be logged in to vote
1 reply
@nicopap
Comment options

nicopap Jul 3, 2023
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants