Pastebin
Paste #1075: FlyingController.uc
< previous paste - next paste>
Pasted by tdn
//-----------------------------------------------------------
//
//-----------------------------------------------------------
class FlyingController extends UTPlayerController;
// Code to activate a simple third person camera
// Don't know if it is all necessary, but it works
simulated event PostBeginPlay()
{
super.PostBeginPlay();
PlayerCamera.CameraStyle = 'ThirdPerson';
if(Pawn != none && UTPawn(Pawn) != none)
{
UTPawn(Pawn).SetThirdPersonCamera(true);
}
}
DefaultProperties
{
bBehindView=true
}
New Paste
Go to most recent paste.