bevy
bevy copied to clipboard
SpatialListener now requires a Transform
I noticed that the SpatialListener asks to have a Transform attached. It seemed weird that we didnt just use a require macro, so i went ahead and did that
I also tweaked the system that plays audio to use a &GlobalTransform instead of an Option<&GlobalTransform>
to add a doc link for a type that is not in scope use the full path i.e. [``GlobalTransform``](bevy_transform::prelude::GlobalTransform) IIRC
thanks for the help @hukasu