Here's my attempt at a 3rd Person following camera a'la Wind Waker, Jak II, etc. As usual, you'll need to copy Sydney and the map into the same directory.
Move the player with arrow keys, rotate camera with A and S.
I wanted to make the player move more like Wind Waker or Jak II (i.e. like Boogle's demo, but with the character rotating to the right direction first, then moving), and I thought I could just base it off the rotation of the camera, except that setTarget() doesn't actually change the camera's rotation at all! Argh! So, what would be the easiest way to get a Y-axis rotation value based on the camera's target?
Alrighty, I've implemented some semi-Wind-Waker-like controls. I'm not really happy with them, but I'm done for tonight. Hopefully someone can give my some input on them to make them less absolutely horrible. Same URL as the previous post.
If you want to try out the old controls, which were less freaky but also less like what I'm aiming for, just change the resolve_controls_WW() to resolve_controls_RE() and recompile.
Woohoo! Fourth post in a row by me! I just love talkin' to myself... yay...
Also, is it just me, or are Y and Z swapped in getRotationDegrees() ?