Game Development Community

Camera and Textures

by SergeantMossimo · in Torque 3D Beginner · 01/05/2011 (2:52 am) · 6 replies

Two quick questions,

I am looking to set some scripted events and want to do quick view changes to different areas of my level. I see you can create a camera in the editor but how would you go about switching to that view?

I am creating buildings where you can power down and/or power up a buildings lights. If I have objects with glow and/or emissive on is there a quick way to turn the settings on or off or is there a way to just switch the texture it uses?

Thanks for any help. I am sure there are some topics on this already but the forum search seems to be broken.

#1
01/05/2011 (6:06 am)
1. %client.setControlObject(%cameraObject);
Sorry, can't help with your other question.
#2
01/05/2011 (5:22 pm)
As an FYI, you can use the following on Google to search this site specifically: "site:torquepowered.com <keywords>"

Works great. Hope that helps!
#4
01/21/2011 (11:06 am)
Got the camera working! thanks.

Still trying to figure out how to turn the emissive and glow on and off on a texture through code. Anyone got any ideas?
#5
01/21/2011 (11:19 am)
Quote:
Still trying to figure out how to turn the emissive and glow on and off on a texture through code. Anyone got any ideas?

Check this.
#6
01/21/2011 (1:14 pm)
Thanks!