Game Development Community

Problem making camera stationary

by Stephen Strawbridge · in Game Design and Creative Issues · 12/02/2012 (12:33 pm) · 3 replies

I know this is probably very simple, but I just can't get it to work right. I want the camera to just be set to a certain point with a certain rotation, and stay that way for the entire game. I've looked through tutorials and read related posts, but I just can't get it to work right. Any help would be appreciated.

About the author

Recent Threads


#1
12/02/2012 (8:04 pm)
u have to add something like this:
%client.camera.setTransform("XXXX");
//xxxx--rotation+position.add what u want
%client.camera.setVelocity("0 0 0");
%control = %client.camera;
%client.setControlObject(%control);


then u have to disable movement keys.look into
scriptsclientdefault.bind.cs


that is just some quick coding to give u an idea.untested.
#2
12/03/2012 (5:57 pm)
Is there a way to retain control of the player while having this camera view? When I set control to the player it resets the camera to the first person view.
#3
12/03/2012 (9:56 pm)
You might experience slightly more help in the appropriate engine forum.

Also try the forums search function.