We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a38db9 commit d8b0eb8Copy full SHA for d8b0eb8
1 file changed
hrt/prefab/fx/FX.hx
@@ -492,7 +492,7 @@ class FXAnimation extends h3d.scene.Object {
492
function syncAnims(newTime: Float, dt: Float) {
493
if(objAnims != null) {
494
for(anim in objAnims) {
495
- if(anim.scale != null || anim.rotation != null || anim.position != null) {
+ if(anim.obj != null && (anim.scale != null || anim.rotation != null || anim.position != null)) {
496
var m = tempMat;
497
if(anim.scale != null) {
498
var scale = evaluator.getVector(anim.scale, newTime, tempVec);
0 commit comments