bevy icon indicating copy to clipboard operation
bevy copied to clipboard

SpatialListener now requires a Transform

Open Wuketuke opened this issue 8 months ago • 2 comments

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>

Wuketuke avatar May 24 '25 14:05 Wuketuke

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

hukasu avatar Jun 03 '25 17:06 hukasu

thanks for the help @hukasu

Wuketuke avatar Jun 03 '25 19:06 Wuketuke