02-15-2024, 05:37 AM
Great! You managed to follow along quite well!
For animation matrix, it is a 4x4 matrix, so you only need to 4x the move_x and move_y part of it.
Good luck!
- Rufas
For animation matrix, it is a 4x4 matrix, so you only need to 4x the move_x and move_y part of it.
Code:
if ( anim.matrix ){
anim.matrix[3] *= 4.0; // update move x
anim.matrix[7] *= 4.0; // update move y
}
Good luck!
- Rufas