janhohenheim / foxtrot

The all-in-one Bevy 3D game template for desktop.
Apache License 2.0
629 stars 45 forks source link

Allow nested entities to be interaction targets #298

Closed 0x0539 closed 8 months ago

0x0539 commented 8 months ago

Fixes an issue discussed in the Discord where nested entities don't work correctly as interaction targets. This was due to the code using Transform instead of GlobalTransform. I tested that Follower interaction still works after this change.

0x0539 commented 8 months ago

Good catches, thanks!

janhohenheim commented 8 months ago

Looks good now, merging after CI :) Thanks for your work!

Edit: Looks like there's a missing comma

0x0539 commented 8 months ago

Yeah... Hey at least I know how to run the linter now