UPBGE-CharacterController
UPBGE-CharacterController copied to clipboard
multiplying a matrix by a vector?
I can see this is quite an old project, it may just be to do with changes to the API, but it's full of lines that throw errors
eg.
self.character.walkDirection = self.object.worldOrientation * vec
this is because "self.object.worldOrientation" is a Matrix and vec is a Vector
sorry if this is a basic question, I'm more familiar with Quaternions than matrices
what is it meant to be doing? should "vec" be converted to a matrix? this would allow for multiplication which accumulates (like a Quat)