My program doesn't have bugs. It just develops random features.

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

ActorFits

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


AdjustCollisionSize

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


CalcClosestCollisionPoint

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


CalcSprayDirection

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


ConformRot

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


DoActorCylindersIntersect

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


DoCylindersIntersect

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


GetDistanceBetweenActors

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


GetDistanceBetweenCylinders

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


GetHitActor

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


GetHitActorInfo

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


GetLocationAtActor

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


GetNameSafe

static final function name GetNameSafe (Object O)


GetPaddedTime

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


GetPhysicsString

static final function string GetPhysicsString (Actor A)


GetQuadraticSolutions

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


GetSphereIntersection

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


IncrementRotatorParam

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


IsLocationInActorCylinder

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


IsLocationInActorSphere

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


IsLocationInCylinder

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


IsLocationInRadius

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


IsLocationInSphere

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


PerpendicularXY

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


PerturbFloatPercent

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


PerturbInt

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


RandomizeRotator

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


RandomizeRotatorParam

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


RotationEquivalent

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


ScaleLinear

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


SecondsToTime

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


SetLandedRotParam

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


ShiftCollisionCylinder

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


SpamTextures

static function SpamTextures (Actor TargetActor, Material Tex)


StripPathFromFileName

static function string StripPathFromFileName (string InName)


SummonClass

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


TraceFromActor

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


VectAproxEqual

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


VectorAproxEqual

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


ZeroRotParam

static final function ZeroRotParam (out int Val)