SetAngle on objects

Post » Thu May 19, 2011 5:08 am

Hi all,

well I'm trying something a little different here. I'm aiming to get a series of static objects to 'face' the player. Now I'm not entirely such the logical way to go about this.

Any suggestions? Have mulled over setAngle and getAngle on both player and object, but not having much luck.

The code I'm using falls into a doOnce statement;
	set angle to myObject.GetAngle Z + myObject.GetHeadingAngle player  	myObject.SetAngle Z angle


Thanks.

NB. Do they have to be movable static objects to be able to do this?

Kris
User avatar
Terry
 
Posts: 3368
Joined: Mon Jul 09, 2007 1:21 am

Return to Fallout: New Vegas