I don’t know about the SCNMatrix4. Why is the (m41, m42, m43) of SCNMatrix4 be the node’s position ? About adding force to the dices, what is the meaning of the direction’s formula?
let direction = SCNVector3(-(distance * 2.5) * transform.m31, -(distance * 2.5) * (transform.m32 - Float.pi / 4), -(distance * 2.5) * transform.m33)
Thanks.