Hi all,..this is my first post to the forums. So forgive any obvious noob questions.
I have added a matinee sequence to my scene. It is touch activated by a dynamic volume as the player walks over the bridge at the very start of the level.
Note my camera is in a 3rd Person perpective. And once the matinee is finished the camera returns to a 1st person mode.
Some details that may be of importance,... although im not sure are that the 3rd person mode is developed by my own pawn. Something i just copied of the net. As when it come to script im useless. But here it is anyway for anyone who might be able to trouble shoot for me.
Also here is a link with a video http://www.youtube.com/watch?v=gLcSa...v8NOLA&lf=plcp
I hope someone has some ideas. CheersPHP Code:class MyPawn extends UTPawn;
simulated function bool CalcCamera(float fDeltaTime, out vector out_CamLoc, out rotator out_CamRot, out float out_FOV)
{
local vector start, end, hl, hn;
local actor a;
start = Location;
if (Controller != none)
{
end = Location - Vector(Controller.Rotation) * 192.f;
}
else
{
end = Location - Vector(Rotation) * 192.f;
}
a = Trace(hl, hn, end, start, false);
if (a != none)
{
out_CamLoc = hl;
}
else
{
out_CamLoc = end;
}
out_CamRot = Rotator(Location - out_CamLoc);
return true;
}
defaultproperties
{
Begin Object Name=WPawnSkeletalMeshComponent
SkeletalMesh=SkeletalMesh'CH_IronGuard_Male.Mesh.SK_CH_IronGuard_MaleA'
AnimSets(0)=AnimSet'CH_AnimHuman.Anims.K_AnimHuman_BaseMale'
AnimTreeTemplate=AnimTree'CH_AnimHuman_Tree.AT_CH_Human'
HiddenGame=FALSE
HiddenEditor=FALSE
bOwnerNoSee=false
End Object
Name="Default__MyPawn"
}



Reply With Quote

Bookmarks