@galacean/engine 0.0.0-experimental-double11.3 → 0.0.0-experimental-double11.4
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.
- package/dist/browser.js +18 -1
- package/dist/browser.min.js +1 -1
- package/dist/main.js +1 -1
- package/dist/miniprogram.js +1 -1
- package/dist/module.js +1 -1
- package/package.json +5 -5
package/dist/browser.js
CHANGED
|
@@ -20140,6 +20140,23 @@
|
|
|
20140
20140
|
};
|
|
20141
20141
|
/**
|
|
20142
20142
|
* @internal
|
|
20143
|
+
*/ _proto._onUpdate = function _onUpdate() {
|
|
20144
|
+
if (this._updateFlag.flag) {
|
|
20145
|
+
var transform = this.entity.transform;
|
|
20146
|
+
if (this.isKinematic) {
|
|
20147
|
+
this._nativeCollider.move(transform.worldPosition, transform.worldRotationQuaternion);
|
|
20148
|
+
} else {
|
|
20149
|
+
this._nativeCollider.setWorldTransform(transform.worldPosition, transform.worldRotationQuaternion);
|
|
20150
|
+
}
|
|
20151
|
+
var worldScale = transform.lossyWorldScale;
|
|
20152
|
+
for(var i = 0, n = this.shapes.length; i < n; i++){
|
|
20153
|
+
this.shapes[i]._nativeShape.setWorldScale(worldScale);
|
|
20154
|
+
}
|
|
20155
|
+
this._updateFlag.flag = false;
|
|
20156
|
+
}
|
|
20157
|
+
};
|
|
20158
|
+
/**
|
|
20159
|
+
* @internal
|
|
20143
20160
|
*/ _proto._onLateUpdate = function _onLateUpdate() {
|
|
20144
20161
|
var transform = this.entity.transform;
|
|
20145
20162
|
var worldPosition = transform.worldPosition, worldRotationQuaternion = transform.worldRotationQuaternion;
|
|
@@ -38860,7 +38877,7 @@
|
|
|
38860
38877
|
], GALACEAN_animation_event);
|
|
38861
38878
|
|
|
38862
38879
|
//@ts-ignore
|
|
38863
|
-
var version = "0.0.0-experimental-double11.
|
|
38880
|
+
var version = "0.0.0-experimental-double11.4";
|
|
38864
38881
|
console.log("Galacean engine version: " + version);
|
|
38865
38882
|
for(var key in CoreObjects){
|
|
38866
38883
|
Loader.registerClass(key, CoreObjects[key]);
|