tomasz.krosnowski Posted August 18, 2013 Posted August 18, 2013 I am struggling with camera managing from C++ level. I know we can do PlayerSpectator camera = new PlayerSpectator(); camera.setPosition(vec3(x, y, z)); engine.game.setPlayer(camera); from UnigineScript.However I do not know how to manage the camera from C++ level. Questions: 1. How can I create camera from C++? How can I switch cameras? 2. What is the procedure to update camera position and orientation?
tomasz.krosnowski Posted August 23, 2013 Author Posted August 23, 2013 cough cough... Not a single clue??
frustum Posted August 23, 2013 Posted August 23, 2013 PlayerDummy interface and Game|Editor::setPlayer() functions will be available in the next SDK update.
Recommended Posts