-
-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attach events & rotation fix #3353
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apply early returns for readability, please
I already used early returns in my own modifications, in the previous review I didn't think that you meant to change the returns in the entire function, but I did, now the code is much more readable. @TracerDS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job 👍
Rotation fix is good, but it creates a situation when 2 players see one object with 2 different rotations. |
That's fine with me too. |
I realized that this cannot be solved this way, because new events also need the rotation. |
Bump? |
Description
This pull request adds two events each on the server and client side, and corrects the error due to which the rotation of the element does not remain when detaching on the server side.
Closes #3273
Syntax
Example