About Store Forum Documentation Contact



Post Reply 
Rotating character?
Author Message
h2osis Offline
Member

Post: #1
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
Find all posts by this user Quote this message in a reply
h2osis Offline
Member

Post: #2
RE: Rotating character?
Lights out, figured out. Used angle.x angle.y. xD I'm noob))
07-05-2013 08:53 AM
Find all posts by this user Quote this message in a reply
Post Reply