我正在做像反恐和监督这样的在线FPS。在这样的游戏中,玩家只能看到自己角色的手,而其他玩家可以看到完整的模型。如何统一实现?希望你明白我的意思。
发布于 2019-07-27 22:51:18
在线多人游戏是一种错觉。
您必须在所有玩家之间同步游戏状态,并根据玩家是否为本地玩家在视觉上显示不同的内容。
if(localPlayer) {
// spawn hands with the gun
} else {
// spawn the full player model
}https://stackoverflow.com/questions/57229423
复制相似问题