Skip to content
Discussion options

You must be logged in to vote

Are you in 2d or 3d? Bevy doesn't support spotlights in 2d.

If you are in 3d. You are probably missing the SpatialBundle component on the parent entity (player). Make sure to add a SpatialBundle::default(). Something like:

+.insert(SpatialBundle::default())
 .with_children(|player| {

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@nicopap
Comment options

nicopap Aug 4, 2023
Collaborator

@Ardn0
Comment options

@Ardn0
Comment options

Answer selected by Ardn0
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