my Matrix4 is called mov.
I have a seperate class that has all the information about my node (like current position and speed type things). So from what I understand you send the TransformVect a new Vector3D of the position that the node should move in...
So say the CurrentPosition property of my class is Vector3D(0,0,0) and I want to move it forward I do the following:
Code: Select all
mov.SetRotaionDegrees(node.Rotation) // the node is set to my seperate class
mov.TransformVect(myObject.NewPosition)
The problem is at TransformVect, it is trying to use a ref. How do I pass back a ref variable of my new Vector3D?