Making a camera follow an object
by Geoldr · in Torque Game Builder · 08/22/2008 (6:41 pm) · 4 replies
How do I do this? Make a camera follow one of my objects?
#2
08/22/2008 (10:29 pm)
Ah, I have found this in the Documentation, but I can't figure out how to use this. I am new, do you have an example?
#3
// objectName should be replaced with a real object's name, you can give object's names in the editor
sceneWindow2D.mount( objectName );
08/22/2008 (10:35 pm)
// sceneWindow2D is the default name of your t2dSceneWindow object in the playScreen// objectName should be replaced with a real object's name, you can give object's names in the editor
sceneWindow2D.mount( objectName );
#4
08/22/2008 (10:38 pm)
Oh great! Thank you! It works!
Associate James Ford
Sickhead Games
- Mounts Camera onto a specified object.