How to switch Bevy engine from f32 to f64 type? #15527
-
I want to switch the type for translation across all components of my project. I know there are special f64-based types, but how to enable them for the entire engine? For example for the Transform component? Is there something like DTransform? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
This is not currently supported. See #1680 for previous discussion. Your current options are a) fork and modify Bevy b) use https://docs.rs/big_space/latest/big_space/ or a similar strategy to meet your goals. Is this for a very large space game or the like? We're considering changing how Transform works to make it more flexible, and I'd like to understand the use cases better. |
Beta Was this translation helpful? Give feedback.
Strongly recommend using
big_space
for this :) It's designed for exactly this sort of use case, and I've seen demos of it covering many orders of magnitude more than you have. There's crate-help thread for it on Discord for follow-up questions if you need more assistance (I haven't built this sort of project myself).