Graphics Reference
In-Depth Information
contact: For collisions, objects must overlap along all axes (e.g., at noon on the
equator you and the sun have the same xz -position in your local reference frame,
but are separated by a huge vertical distance, so you aren't inside the sun); and for
contact force, we need the normal components from all axes to compute the force
along each one. For the moment we ignore contact.
Velocity is change in position divided by change in time. When we say “veloc-
ity” we typically are referring to instantaneous velocity x ( t ) , which is the limit
of velocity as the time duration approaches zero:
x ( t t
/
2 )
x ( t
Δ t
/
2 )
velocity = x ( t ) = lim
Δ t 0
.
(35.16)
Δ t
Acceleration has the same relationship to velocity as velocity has to position.
Instantaneous acceleration can therefore be expressed as the second time deriva-
tive of position:
x ( t t
x ( t
/
2 )
Δ t
/
2 )
acceleration = x ( t ) = lim
Δ t
.
(35.17)
Δ t
0
In this notation, our problem is thus to derive an expression for x ( t ) given
x ( 0 ) , x ( 0 ) , and x ( t ) . By the second fundamental theorem of calculus, if x ( t ) is
differentiable, then
x ( t )= x ( 0 )+ t
0
x ( s ) ds .
(35.18)
Since we have the first and second derivatives of x ( t ) , we will assume that it is in
fact a differentiable function.
We cannot apply Equation 35.18 directly because we have no explicit expres-
sion for x ( t ) in our initial state. Therefore, we apply the second fundamental the-
orem again to obtain an expression in terms of only known values:
x ( s )= x ( 0 )+ s
0
x ( r ) dr
(35.19)
x ( t )= x ( 0 )+ t
0
x ( 0 )+ s
0
x ( r ) dr ds
(35.20)
x ( t )= x ( 0 )+ x ( 0 ) t + t
0
s
x ( r ) dr ds
(35.21)
0
One way to produce a dynamics animation is to evaluate this integral for x ( t )
analytically and then evaluate it at successive times t =
. When
an expression is available for x ( t ) and it is integrable in elementary (symbolic)
terms, this approach is convenient and produces no incremental position error
throughout the animation. The analytic approach is viable for simple scenarios,
such as a body falling or sliding under constant linear acceleration or a satellite
orbiting a planet under constant radial acceleration (both examples due to gravity).
Introductory physics textbooks focus on such problems because most complicated
scenarios cannot be solved analytically.
{
0, Δ t ,2 Δ t ,
...}
35.6.2 Differential Equation Formulation
Often we have the means to compute instantaneous acceleration given the position
and velocity of an object, but no analytic solution for all time. For example, by
Newton's second law ( F = m · a ), the net acceleration x ( t ) experienced by a body
 
 
Search WWH ::




Custom Search