Skip to content

The rewind simulation is inconsistent #49

Answered by RossNordby
c068162 asked this question in Q&A
Discussion options

You must be logged in to vote

The inertia tensor is just the rotated local inertia tensor. If it doesn't match, it's because either something changed the local inertia tensor, or (more likely) the orientation doesn't match.

What I understand about option 2 is to resimulate from the first frame.

I don't mean to resimulate from the first frame, but rather to rebuild the simulation using the most recent state. Rebuilding the simulation means that all internal state differences accumulated over updates are wiped out.

To phrase it another way, imagine 3 cases:

  1. Simulation A starting from initial conditions and running for 10 frames.
  2. Simulation B that is built from all the externally visible state (like entity poses/veloc…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@c068162
Comment options

@c068162
Comment options

@RossNordby
Comment options

Answer selected by c068162
@c068162
Comment options

@c068162
Comment options

@RossNordby
Comment options

@c068162
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants