BlinksTale / cubior

A 3d four player platformer with 3d visuals (for 2d screens)
http://galigogames.com/cubior
5 stars 0 forks source link

Multiplayer Camera looks elsewhere near goal? #37

Closed BlinksTale closed 12 years ago

BlinksTale commented 12 years ago

Not sure what this is, needs looking into for IGF demo.

BlinksTale commented 12 years ago

Always happens with camera on far side of goal, looking left, on the third room, with goal to left and player to right, but both on the left hand side of the camera. Super awk! Can't see goal, and player almost off screen.

BlinksTale commented 12 years ago

SO, the glitch is when you jump over the platform, land on the other side triggering a camera move, but jump back up on the platform again.

Thoughts are that either camera is stopping to not screw things up, but not looking at player, and/or trying to also do a goal view but will not move from pos. Regardless, fixes itself with movement of player. At least it can be replicated now though!

BlinksTale commented 12 years ago

More details: justFixedVisibility is set to 1 when this happens, meaning you can't move because visibility was JUST corrected for you. This shouldn't influence camera angles though, right? Also, I believe freedom was 1 and found intended pos was 0.

BlinksTale commented 12 years ago

It knows where it's supposed to look, the lookAtPlayer call is using permanentTarget and tracker, and it matches player's position as it should, but it's not looking there. Thus, lookAtPlayer must be addressed next.

BlinksTale commented 12 years ago

Conflict that lookAtBoth was being called instead since you were in range of that. Now followOne gets called if justFixedVisibility OR not looking at both.