UPBGE-CharacterController icon indicating copy to clipboard operation
UPBGE-CharacterController copied to clipboard

multiplying a matrix by a vector?

Open xphlawlessx opened this issue 4 years ago • 0 comments

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)

xphlawlessx avatar Jan 19 '21 17:01 xphlawlessx