bevy_third_person_camera icon indicating copy to clipboard operation
bevy_third_person_camera copied to clipboard

Camera boundaries

Open olekspickle opened this issue 8 months ago • 2 comments

Would be cool to set a bondary where camera could not go. My use case is simple - if camera goes lower than 0 on Y axis, I want it to stay at 0 so that you would not see the innards of a platform mesh.

I'm pretty sure it might be useful in some mechanics as well.

As for implementation - can be simply coord bounds, or planes.

olekspickle avatar May 05 '25 15:05 olekspickle

Thanks for the suggestion! It's a great idea. I'm pretty busy this week, but I'll explore this next week and I'll keep this issue open. Or if youd like, feel free to open a PR and I can check it out!

The-DevBlog avatar May 07 '25 01:05 The-DevBlog

Is there a way to make this more generically usable? For example so that the camera doesn't go through dynamically generated terrain meshes

TheDan64 avatar Sep 16 '25 02:09 TheDan64