• Creating a Camera Dynamically
    3 replies, posted
Hello FP. Alright, so I'm trying to figure out how to create cameras on the fly. In sandbox mode, you can use the camera tool to create cameras to be placed around the map, and then the material tool to place their feed on different models, etc. What I'd like to know is how to do both (creating cameras/applying materials) via Lua. Any tips? Thanks!
Bump :P
Bump again -_- Any help with this?
Look at the source code for the built-in camera tool - it contains the code to spawn a camera, so by studying it you can learn how to do it in any script.
Sorry, you need to Log In to post a reply to this thread.