Re: [Algorithms] Integrating acceleration in 3D
Brought to you by:
vexxed72
|
From: Jonathan B. <jo...@nu...> - 2006-04-14 06:15:50
|
You want to start reading books on "control theory". http://en.wikipedia.org/wiki/Control_theory > In three-space, I'm stumped. My naive implementation swims all > over the place, the object essentially goes into orbit around > the target point once it's within a distance that I'm guessing > is relative to the acceleration value and the timestep. I > quickly realized that the problem was because I had just > reverted to computing the velocity once per frame and making it > constant over the whole timestep. I can "damp" the system > easily enough by truncating the move vector if it tries to go > past the point, but that's not desirable. > |