Is your feature request related to a problem? Please describe.
Currently, the world offset in StraightFour/Assets/StraightFour/World.cs does not update when a character entity moves a significant distance from the world origin. This can lead to issues with floating-point precision and gameplay experience as the character moves further from the origin.
Describe the solution you'd like
Implement logic to monitor the distance of a provided character entity from the world origin. When the entity moves beyond a certain threshold, automatically update the world offset in World.cs to recenter the world around the character. This will help maintain precision and consistent gameplay.
Describe alternatives you've considered
- Manually triggering a world offset update via user input.
- Updating the offset only during specific events (e.g., teleportation).
Additional context
This feature will ensure better precision and stability for entities that travel far from the origin, enhancing the overall game experience.
Is your feature request related to a problem? Please describe.
Currently, the world offset in
StraightFour/Assets/StraightFour/World.csdoes not update when a character entity moves a significant distance from the world origin. This can lead to issues with floating-point precision and gameplay experience as the character moves further from the origin.Describe the solution you'd like
Implement logic to monitor the distance of a provided character entity from the world origin. When the entity moves beyond a certain threshold, automatically update the world offset in
World.csto recenter the world around the character. This will help maintain precision and consistent gameplay.Describe alternatives you've considered
Additional context
This feature will ensure better precision and stability for entities that travel far from the origin, enhancing the overall game experience.