Game Development Community

Using Cut Scene Camera whilst still having control of player.

by Luke Hopkins · in Game Mechanics Kit · 02/21/2010 (9:34 pm) · 1 replies

So far my attemps are unsuccessful and I was woundering if someone could help.
I've currently been looking at Cutscene.cs and camera.cs in GMK. Trying to find the script where the camera takes away the control of the player. However i cant seem to find it so i've been trying to give control back to the player.

I've trying calling

LocalClientConnection.setControlObject(LocalClientConnection.player);

inside Cutscene to gain control of the player but i think im going about it in the wrong direction.

Woundering if some could help me?

Thanks

#1
02/22/2010 (11:19 am)
Ouch :)
Torque is quite sensitive to this stuff, I don't know how to do it but somehow you should pass commands to Player while camera is controlled object.