Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE2:Util static functions (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2 Object >> Actor >> Util (static functions)
Util static functions in other games:
U2XMP

Static functions[edit]

ActorFits[edit]

static final function bool ActorFits (Actor MovingActor, Object.Vector DesiredLocation, float ActorFitsRadius)


AdjustCollisionSize[edit]

static final function bool AdjustCollisionSize (Actor SourceActor, float NewRadius, float NewHeight)


CalcClosestCollisionPoint[edit]

static final function Object.Vector CalcClosestCollisionPoint (Actor Other, Object.Vector Loc)


CalcSprayDirection[edit]

static final function Object.Vector CalcSprayDirection (Object.Rotator Direction, float Spread)


ConformRot[edit]

static final function ConformRot (out Object.Rotator Source, Object.Rotator Image, Object.Rotator Allowance)


DoActorCylindersIntersect[edit]

static final function bool DoActorCylindersIntersect (Actor A1, Actor A2)


DoCylindersIntersect[edit]

static final function bool DoCylindersIntersect (Object.Vector Location1, float CollisionRadius1, float CollisionHeight1, Object.Vector Location2, float CollisionRadius2, float CollisionHeight2)


GetDistanceBetweenActors[edit]

static final function float GetDistanceBetweenActors (Actor A1, Actor A2)


GetDistanceBetweenCylinders[edit]

static final function float GetDistanceBetweenCylinders (Object.Vector FirstOrigin, float FirstRadius, float FirstHalfHeight, Object.Vector SecondOrigin, float SecondRadius, float SecondHalfHeight)


GetHitActor[edit]

static final function Actor GetHitActor (Controller C, optional bool bTraceVisibleNonColliding)


GetHitActorInfo[edit]

static final function Actor GetHitActorInfo (Controller C, out Object.Vector HitLocation, out Object.Vector HitNormal, optional bool bTraceVisibleNonColliding)


GetLocationAtActor[edit]

static function Object.Vector GetLocationAtActor (Actor TargetActor, float SourceCollisionRadius, float SourceCollisionHeight)


GetNameSafe[edit]

static final function name GetNameSafe (Object O)


GetPaddedTime[edit]

static final function string GetPaddedTime (float Time, int Len, optional bool bRightJustify, optional string PadStr)


GetPhysicsString[edit]

static final function string GetPhysicsString (Actor A)


GetQuadraticSolutions[edit]

static final function int GetQuadraticSolutions (float a, float b, float c, out float Solution1, out float Solution2)


GetSphereIntersection[edit]

static final function bool GetSphereIntersection (out float IntersectionDistance1, out float IntersectionDistance2, Object.Vector SphereCenter, float SphereRadius, Object.Vector LinePosition, Object.Vector LineNormal)


IncrementRotatorParam[edit]

static final function IncrementRotatorParam (out int Param, int Amount)


IsLocationInActorCylinder[edit]

static final function bool IsLocationInActorCylinder (Actor OriginActor, Object.Vector TestLocation)


IsLocationInActorSphere[edit]

static final function bool IsLocationInActorSphere (Actor OriginActor, Object.Vector TestLocation, float SphereRadius)


IsLocationInCylinder[edit]

static final function bool IsLocationInCylinder (Object.Vector CylinderOrigin, float CylinderRadius, float CylinderHeight, Object.Vector TestLocation)


IsLocationInRadius[edit]

static final function bool IsLocationInRadius (Object.Vector Origin, float Radius, Object.Vector TestLocation)


IsLocationInSphere[edit]

static final function bool IsLocationInSphere (Object.Vector SphereOrigin, float SphereRadius, Object.Vector TestLocation)


PerpendicularXY[edit]

static final function Object.Vector PerpendicularXY (Object.Vector V)


PerturbFloatPercent[edit]

static final function float PerturbFloatPercent (float Num, float PerturbPercent)


PerturbInt[edit]

static final function int PerturbInt (int Num, int PerturbPlusMinus)


RandomizeRotator[edit]

static final function RandomizeRotator (out Object.Rotator TargetRotator, int RollPerturbMin, int RollPerturbMax, int YawPerturbMin, int YawPerturbMax, int PitchPerturbMin, int PitchPerturbMax)


RandomizeRotatorParam[edit]

static final function RandomizeRotatorParam (out int Param, int PerturbMin, int PerturbMax)


RotationEquivalent[edit]

static final function bool RotationEquivalent (Object.Rotator FirstRotation, Object.Rotator SecondRotation, float RotationComponentTolerance)


ScaleLinear[edit]

static final function float ScaleLinear (float Val, float RangeMin, float RangeMax, float MinRangeVal, float MaxRangeVal)


SecondsToTime[edit]

static final function string SecondsToTime (float TimeSeconds, optional bool bNoSeconds)


SetLandedRotParam[edit]

static final function SetLandedRotParam (out int Val, int DesiredVal)


ShiftCollisionCylinder[edit]

static final function bool ShiftCollisionCylinder (Actor SourceActor, float HeightChange)


SpamTextures[edit]

static function SpamTextures (Actor TargetActor, Material Tex)


StripPathFromFileName[edit]

static function string StripPathFromFileName (string InName)


SummonClass[edit]

static function Object SummonClass (class<ObjectNewClass, string ClassName, Controller C, Pawn P, bool bUseViewRotation)


TraceFromActor[edit]

static final function bool TraceFromActor (Actor GivenActor, Object.Vector DestinationPoint, optional bool bCollideActors, optional bool bUseExtents)


VectAproxEqual[edit]

static final function bool VectAproxEqual (Object.Vector v1, Object.Vector v2, float Allowance)


VectorAproxEqual[edit]

static final function bool VectorAproxEqual (Object.Vector FirstVector, Object.Vector SecondVector)


ZeroRotParam[edit]

static final function ZeroRotParam (out int Val)