How do I: Use the current direction of 1 object to rotate another?
Hi.
I am trying to get a head (which I jointed myself) to look in the same direction as it's body, but it wont stay that way by default.
It drags behind instead.
If I make it not movable it stays in the desired direction, but I can not make it look at things or give it a slight animation.
I also tried a angle censor and a look at rotator, but that made it look to a wrold direction instead of it's own direction.
Could anyone please help me with this?
-
Hi, you can use movement sensor's X/Y/Z Direction output, with the movement sensor in "Local Space". Stick the movement sensor on the body of the character. Wire that into the Look At Rotator's "Scene Space Direction" input.
thanks
Matt -
To Matt
Wow it worked, thanks.
Must say I expected this function to be in the angle sensor, but I guess this makes sense too.
Thanks again and I wish you luck with the other questions. ;)
댓글을 남기려면 로그인하세요.