@croquet/worldcore-kernel
Advanced tools
Comparing version 2.0.0-alpha.13 to 2.0.0-alpha.14
{ | ||
"name": "@croquet/worldcore-kernel", | ||
"version": "2.0.0-alpha.13", | ||
"version": "2.0.0-alpha.14", | ||
"description": "3D World Engine for Croquet (minimal install)", | ||
@@ -36,3 +36,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "dabf434d212313f0f771a2e5d419ee9d10b84046" | ||
"gitHead": "c01d5a5179ff905b2c81663dfdd61563af1d0dda" | ||
} |
@@ -395,3 +395,3 @@ import { Constants, Model } from "@croquet/croquet"; | ||
if (!this.driving || this._driverOverride) { | ||
if (!this.driving) { | ||
if (v3_equals(this._scale, this.actor.scale, .0001)) { | ||
@@ -419,4 +419,2 @@ this._scale = this.actor.scale; | ||
this._driverOverride = false; // even if set, it only covers one update | ||
if (!this._global) { | ||
@@ -440,4 +438,7 @@ this.refreshDrawTransform(); | ||
snapIncludingDriver(options = {}) { | ||
// force update of the pawn of even a locally driven object (which normally ignores all actor updates after initial placement) | ||
snapOverridingDriver(options = {}) { | ||
// in a setup like the Unity bridge, where the pawn of a view-driven object | ||
// generally assumes that all its actor's geometry updates originated from that pawn | ||
// and can thus be ignored, this method allows a snapped update to be forwarded | ||
// explicitly to the pawn regardless. | ||
if (Object.keys(options).length === 0) return; | ||
@@ -476,9 +477,7 @@ | ||
onDriverOverride() { | ||
this._driverOverride = true; // see PM_Smoothed.update | ||
} | ||
park() { } | ||
drive() { } | ||
onDriverOverride() { } | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
155264
0