Set-camera-facing-object

From FreeSpace Wiki
Revision as of 15:58, 31 October 2009 by TopAce (talk | contribs) (Created page with ' set-camera-facing-object Makes the camera face the given object Takes 1 to 4 arguments... 1: Object to face (optional) 2: Total turn time (milliseconds) 3: Time to sp…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
set-camera-facing-object
	Makes the camera face the given object  Takes 1 to 4 arguments...
	1:	Object to face
	(optional)
	2:	Total turn time (milliseconds)
	3:	Time to spend accelerating/decelerating (milliseconds)
	4:	Time to spend decelerating (milliseconds)

Comments

This SEXP can be used in an every-time event to make the camera track a moving target.