Plonq / bevy_rts_camera

RTS-style camera controls plugin for Bevy Engine
Apache License 2.0
53 stars 5 forks source link

Pan limits/bounds #3

Closed Plonq closed 6 months ago

Plonq commented 6 months ago

Implements bounds/limits for how far the camera can move in any direction along the XZ place (i.e. panning). This allows one to set a bounding box matching the world/level so the camera can't just move out into nothingness. The actual bounding box should be smaller than the world - it's the limit on the focal point, not the edge of the screen.