Skip to content

Is it possible to get window/vase/misc items being destroyed? #243

Answered by saul
n1c asked this question in Questions
Discussion options

You must be logged in to vote

So the game client definitely knows to break the props, even if a bot is the one that shoots them. I still can't figure out how as I can't see it networked at all.

I think the game client may be simulating each player around it (e.g. doing the shot client-side, seeing what it collides with, and breaking any props, as you suggest).

Window breaks are not client-only - the window is removed from the gameworld and 'broken glass' tempents are spawned. The library support tempents, but unfortunately you're not able to determine who broke the window.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by saul
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #85 on February 28, 2021 14:00.