Hmmm. I was expecting to get taken to school on camera projections on that — it seems like something anyone implementing a 3rd person controller would hit. Although, I guess the dozen or so examples I've seen all fail at this, so maybe off-center 3rd person characters is an edge case?
@nulldiver Have only thought about this for one minute...but I would expect the camera's world-space "right" and "up" axes to just work, even for an off-center object, assuming a standard perspective projection?
@reedbeta yeah, of course. In my initial haste, I neglected the critical bit of translating "up" into camera "forward", which is no longer aligned to with "up" due to the projection... so up means running into the screen along an apparent vertical line (as it would for an object at screen center)
Mastodon server focused on game development and related topics.