onMount method
Called when the owning node enters a live scene graph.
Implementation
@override
void onMount() {
if (_register(silent: false)) {
// Dependents that mounted first (a sibling collider, a joint on any
// node referencing this body) are waiting on this handle.
retryPendingPhysicsRegistrations();
} else {
addPendingPhysicsRegistration(this);
}
}