bonsairobo / smooth-bevy-cameras

Bevy camera controllers with buttery, exponential smoothing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make controllers optional

Shatur opened this issue · comments

Games usually make their own camera controllers. So I would suggest to put controllers under a feature which is enabled by default.
If you like the idea - I can send a PR for it.

Sounds reasonable. I don't think I would consider the controllers as "bloat" since they are few and small, but it doesn't hurt anyone to make them optional either, so long as they remain default features.

This crate looks modular enough that you should be able to add a LookAngles or LookTransform component to your existing camera, and then have your own motion smoothed out. I'm having trouble figuring out how to do this though. Do you think you can add an example?

@maaku I believe you can take a look at one of the existing controller impls for an example.