AndroidAdam
29-04-2010 03:31:35
Hi, suppose I had two entities, both ninjas. I want one ninja (N1) to look at the other ninja (n2) so that n1 is always facing towards n2. If n2 was to walk around n1, n1 would have done one complete rotation in place. I hope that made sense.
anyway, I was using n1Node.LookAt(n2Node.Position, Node.TransformSpace.TS_LOCAL), but it was causing n1 to do some really weird things, like cart wheels.
Any suggestions? Help would be greatly appreciated.
anyway, I was using n1Node.LookAt(n2Node.Position, Node.TransformSpace.TS_LOCAL), but it was causing n1 to do some really weird things, like cart wheels.
Any suggestions? Help would be greatly appreciated.