From bd9c2a219a77ccd91840a9b47af1831865d3443a Mon Sep 17 00:00:00 2001 From: Mugen87 Date: Tue, 1 Apr 2025 11:48:32 +0200 Subject: [PATCH] VelocityNode: Fix initial value of previous model matrix. --- src/nodes/accessors/VelocityNode.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nodes/accessors/VelocityNode.js b/src/nodes/accessors/VelocityNode.js index 4bf4b50b2be91b..373548b0b587e7 100644 --- a/src/nodes/accessors/VelocityNode.js +++ b/src/nodes/accessors/VelocityNode.js @@ -205,6 +205,7 @@ function getPreviousMatrix( object, index = 0 ) { if ( matrix === undefined ) { objectData[ index ] = matrix = new Matrix4(); + objectData[ index ].copy( object.matrixWorld ); }