@needle-tools/engine 4.8.4-next.5c03fe1 → 4.8.4-next.68d6468

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -130,12 +130,20 @@ export class TransformGizmo extends Behaviour {
130
130
  const orbit = this.orbit;
131
131
  if (orbit) orbit.enabled = !event.value;
132
132
  if (event.value) {
133
- // request ownership on drag start
133
+ // Start of interaction
134
134
  const sync = GameObject.getComponentInParent(this.gameObject, SyncedTransform);
135
135
  if (sync) {
136
+ sync.fastMode = true;
136
137
  sync.requestOwnership();
137
138
  }
138
139
  }
140
+ else {
141
+ // End of interaction
142
+ const sync = GameObject.getComponentInParent(this.gameObject, SyncedTransform);
143
+ if (sync) {
144
+ sync.fastMode = false;
145
+ }
146
+ }
139
147
  }
140
148
 
141
149
  /**