Group Group Group Group Group Group Group Group Group

Chapter 4 SCNMatrix4

#1

Hi,
Could you please provide some more information about using of SCNMatrix4.

func throwDiceNode(transform: SCNMatrix4, offset: SCNVector3) {
        let position = SCNVector3(transform.m41 + offset.x, transform.m42 + offset.y, transform.m43 + offset.z)

Why we use transform.m41, transform.m42, transform.m43?

#2

@chrislanguage Can you please help with this when you get a chance? Thank you - much appreciated! :]