[r1358] Chasecam isn't centered on the player in multiplayer

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Janizdreg
Posts: 111
Joined: Thu Jan 01, 2004 9:06 am
Location: Finland
Contact:

[r1358] Chasecam isn't centered on the player in multiplayer

Post by Janizdreg »

The chasecam doesn't seem to follow the player correctly in multiplayer games. It's somewhat difficult to explain, but basically it is laggy and doesn't keep the player centered in the view like it does in single player. This is most evident while strafing, which causes the chasecam to get visibly off-centered.
User avatar
edward850
Posts: 5890
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: [r1358] Chasecam isn't centered on the player in multiplayer

Post by edward850 »

There is no bug here. Its a side effect of predicted player moment. The camera is predicted, not the actual player object, which also causes the same anomaly in mirrors. The only reason why this works in first person is that you can never see your self normally.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [r1358] Chasecam isn't centered on the player in multiplayer

Post by randi »

edward850 wrote:The camera is predicted, not the actual player object
Well, no. They player is predicted, since that's where the camera comes from. Then the chasecam's position is found by simply tracing back a short distance from there. I'm not sure why they would be out of sync.
User avatar
edward850
Posts: 5890
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: [r1358] Chasecam isn't centered on the player in multiplayer

Post by edward850 »

Oh, so the play actor is predicted, not just their camera? With the third person camera acting the way it does, you can't blame me for such a misinterpretation now can you :D.
User avatar
Zhs2
Posts: 1301
Joined: Fri Nov 07, 2008 3:29 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: Maryland, USA, but probably also in someone's mod somewhere
Contact:

Re: [r1358] Chasecam isn't centered on the player in multiplayer

Post by Zhs2 »

Wait, it's a multiplayer only camera behavior? =(

I actually liked the wavey camera movements in 2.2.0, and while the stable camera has its uses, the movement patterned-one actually has a personality... ^_^
User avatar
edward850
Posts: 5890
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: [r1358] Chasecam isn't centered on the player in multiplayer

Post by edward850 »

Wait, randy may have said the player actor is predicted, but that doesn't explain why mirrors have the same issue.
User avatar
Macil
Posts: 2529
Joined: Mon Mar 22, 2004 7:00 pm
Preferred Pronouns: He/Him
Location: California, USA. Previously known as "Agent ME".
Contact:

Re: [r1358] Chasecam isn't centered on the player in multiplayer

Post by Macil »

I just noticed this. The behavior seems to only happen if the game is a netgame, or originally was (started with two players, and one player leaves).

Just starting a normal netgame with chasecam allowed will show this behavior:

Code: Select all

./zdoom -iwad doom2.wad -host 2 -netmode 1 +dmflags2 2097152 +name host

Code: Select all

./zdoom -iwad doom2.wad -join localhost -netmode 1 +name client
Even if one player leaves, the chasecam will still be a bit lagged for the remaining player.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [r1358] Chasecam isn't centered on the player in multipl

Post by randi »

Fixed.
Post Reply

Return to “Closed Bugs [GZDoom]”