Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 00074 00075 00076 00077 00078 00079 00080 00081 00082 00083 00084 00085 |
/** * Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. */ class UTSkelControl_TurretConstrained extends SkelControlSingleBone native(Animation); var(Constraint) bool bConstrainPitch; var(Constraint) bool bConstrainYaw; var(Constraint) bool bConstrainRoll; var(Constraint) bool bInvertPitch; var(Constraint) bool bInvertYaw; var(Constraint) bool bInvertRoll; struct native TurretConstraintData { var() int PitchConstraint; var() int YawConstraint; var() int RollConstraint; }; var(Constraint) TurretConstraintData MaxAngle; // Max. angle in Degrees var(Constraint) TurretConstraintData MinAngle; // Min. angle in Degrees /** * Allow each turret to have various steps in which to contrain the data. */ struct native TurretStepData { var() int StepStartAngle; var() int StepEndAngle; var() TurretConstraintData MaxAngle; var() TurretConstraintData MinAngle; }; var(Constraints) array<TurretStepData> Steps; var(Turret) float LagDegreesPerSecond; var(Turret) float PitchSpeedScale; var(Turret) rotator DesiredBoneRotation; /** If true, this turret won't update if the seat it is associated with is firing */ var(Turret) bool bFixedWhenFiring; /** The Seat Index this control is associated with */ var(Turret) int AssociatedSeatIndex; /** If true, this turret will reset to 0,0,0 when there isn't a driver */ var(Turret) bool bResetWhenUnattended; var bool bIsInMotion; /** This is the world space rotation after constraints have been applied * We set Bone rotation to this value by default in GetAffectedBones */ var transient Rotator ConstrainedBoneRotation; // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) // (cpptext) delegate OnTurretStatusChange(bool bIsMoving); /** Initialises turret, so its current direction is the way it wants to point. */ native final function InitTurret(Rotator InitRot, SkeletalMeshComponent SkelComp); /** @return if the given pitch would be limited by this controller */ native final function bool WouldConstrainPitch(int TestPitch, SkeletalMeshComponent SkelComp); defaultproperties { LagDegreesPerSecond=360.000000 PitchSpeedScale=1.000000 bApplyRotation=True BoneRotationSpace=BCS_ActorSpace Name="Default__UTSkelControl_TurretConstrained" ObjectArchetype=SkelControlSingleBone'Engine.Default__SkelControlSingleBone' } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |