zircher wrote: ↑
Wed Apr 15, 2020 8:54 am
Okay, I'll bite. How would you compare and contrast the two efforts and can they benefit from each other?
My method involves much more swearing at the vector math and substantially less reading comprehension when examining the docs.
(I've solved the hard parts, I think—the cursor stays put in worldspace. Now I get to work out how to move the ship to match the cursor.)
More seriously: Snow's method is velocity-based. Move the mouse and hold it steady, and the ship continues to rotate at a constant angular velocity. In contrast, my method is a positional control: move the mouse and hold it steady, and the ship will aim at a position and stop. My method differs from some other positional control schemes in that it is tolerant of sluggish ships, because the reticle moves independently from the ship itself and allows the ship to take as long as it needs to. As a bonus, off-boresight aiming (and perhaps camera motions to keep the reticle onscreen) are a natural extension of this method.