-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Planet's angle speed is not saved #20
Comments
By |
Okay, it still does not seem right. Simulation is way too off on load. |
Okay, it seems like wee need to also load and save |
As far as I can see, values that doesn't match are rotation and velocity, which can be caused because we load those values before loading slices (slicing planets). So our planet is rotated and has some velocity and then sliced. We should keep these values and assign them once more after slicing probably, they are saved properly in data save file. |
So my guess with |
Actually rotation is saved and loaded fine - it has just different notation. |
So only thing that is still off is velocity on the rigidbody, it somewhere needs to load weird values to it. |
The best way to solve it is to make my own rigidbody, maybe will do it in future. |
If we save planets when moving and rotating, angle speed is not saved:
The text was updated successfully, but these errors were encountered: