[vos-d] Thought problem 2: physics 2
Ken Taylor
taylork at alum.mit.edu
Fri Feb 2 01:20:39 EST 2007
chris wrote:
> Thought problem 2: physics 2
>
> Suppose I am going to do a rigid body simulation. I put one box (box1)
> on a plane, at the origin and hold another box (box2) suspended a
> meter above the plane nearby. I release box2 at time t=20 and it
> bounces, perhaps collides with box1 then eventually comes to rest. I
> snap an image of the rest state of the sim.
>
> Now I repeat the entire sim with viewpoint, boxes and plane in exactly the
same
> position as before. I drop box2 at time t=8000, let it bounce and snap an
> image of the sim when it is at rest.
>
> Question: will the two images of the two experiments show box2 in the
> same rest position relative to box1?
>
Well first I was going to say "of course not."
But then I realized... time is probably floating-point as well, and has less
precision when the number is bigger... oh snap!
Of course... why not use a big integer for time?
-Ken
More information about the vos-d
mailing list