Skip to content

Commit f1ecf66

Browse files
authored
VelocityNode: Fix initial value of previous model matrix. (#30839)
1 parent 407360e commit f1ecf66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/nodes/accessors/VelocityNode.js

+1
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ function getPreviousMatrix( object, index = 0 ) {
205205
if ( matrix === undefined ) {
206206

207207
objectData[ index ] = matrix = new Matrix4();
208+
objectData[ index ].copy( object.matrixWorld );
208209

209210
}
210211

0 commit comments

Comments
 (0)