Setting player model color is broken #56

Closed
opened 2021-08-29 22:53:20 +02:00 by unfa · 1 comment

Setting a player's color will make all player models viewed on that game instance use the chosen color.

Also - if a client does that - all clients change their visible colors too.
If a server does it - it only changes remotely, while the server-side game still uses previously set player colors.

The player_list holds accurate information at all times, but applying that information to player model materials is broken.

Duplicating the player material doesn't seem to work.
Checking which player's PID should be set to avoid assingning incorrect materials doesn't seem to help either.

Could this be a bug in Godot?

Setting a player's color will make all player models viewed on that game instance use the chosen color. Also - if a client does that - all clients change their visible colors too. If a server does it - it only changes remotely, while the server-side game still uses previously set player colors. The player_list holds accurate information at all times, but applying that information to player model materials is broken. Duplicating the player material doesn't seem to work. Checking which player's PID should be set to avoid assingning incorrect materials doesn't seem to help either. Could this be a bug in Godot?
Poster
Owner

Fixed.

Fixed.
unfa closed this issue 2021-09-26 02:34:22 +02:00
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: unfa/liblast#56
There is no content yet.