h2osis
Member
|
Rotating character?
Hello everyone, I'm new and I ask this question: how to turn the face of the character to another character in the loaded world? (I need to simulate a shot of one character to the other).I tried to use the property "angle" class "Chr", but it seems confused with the geometry (
Code:
GChrs[CH].angle.set(AngleNormalize(
Angle(GChrs[CH].pos().xzy(), GEnemys[it].matrix())));
GChrs[] and GEnemys[] just a collection of objects of class Chr.
(This post was last modified: 07-05-2013 07:29 AM by h2osis.)
|
|
07-05-2013 06:32 AM |
|
h2osis
Member
|
RE: Rotating character?
Lights out, figured out. Used angle.x angle.y. xD I'm noob))
|
|
07-05-2013 08:53 AM |
|