Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

Newly created actor without ownership will properly receive default ownership once authoritative user is assigned #744

Merged

Conversation

norybiak
Copy link
Contributor

@norybiak norybiak commented Mar 25, 2021

If an actor - without the owner property being defined - is created directly after the onStarted() event, it will receive a default owner of undefined since the authoritative user hasn't been assigned yet. This update will add the actor to _rigidBodyOrphanSet so that once the authoritative user is assigned, the actor will properly receive the default owner.

Related issues #732 #742
Requires PR #743

@tombuMS tombuMS merged commit 0ab4117 into microsoft:red Apr 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants