how to move in the direction an object is facing

1 reply [Last post]
Offline
Joined: 01/31/2014

what I am trying to do is make an object, set its rotateX, rotateY, and rotateZ fields the same as that of the camera, and then move that in the same direction that it is facing. The idea is for it to see what is in the center of the screen. If there is an easier way to do this, please tell me!

 YOLOOOOOOOOOOOOOOOOO!

Offline
Joined: 12/13/2010
Are you trying to create

Are you trying to create something like a 3rd person camera?

If you follow the scene creator lessons, you can check out the code to do exactly that!

 

Jason