KActor¶
Class in Engine · Engine.KActor · native, placeable
Object › Actor › DynamicSMActor › KActor
Subclasses: GameKActorSpawnableEffect, KActorFromStatic, KActorSpawnable
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
AngErrorAccumulator | float | const, native |
bCurrentSlide | bool | |
bDamageAppliesImpulse | bool | |
bDisableClientSidePawnInteractions | bool | |
bEnableStayUprightSpring | bool | |
bLimitMaxPhysicsVelocity | bool | |
bNeedsRBStateReplication | bool | transient |
bSlideActive | bool | |
bWakeOnLevelStart | bool | repnotify |
ImpactEffectComponent | ParticleSystemComponent | |
ImpactEffectInfo | PhysEffectInfo | |
ImpactSoundComponent | AudioComponent | |
ImpactSoundComponent2 | AudioComponent | |
InitialLocation | vector | transient |
InitialRotation | rotator | transient |
LastImpactTime | float | |
LastSlideTime | float | |
MaxPhysicsVelocity | float | |
RBState | RigidBodyState | const, native |
ReplicatedDrawScale3D | vector | repnotify |
SlideEffectComponent | ParticleSystemComponent | |
SlideEffectInfo | PhysEffectInfo | |
SlideSoundComponent | AudioComponent | |
StayUprightMaxTorque | float | |
StayUprightTorqueFactor | float |
Functions¶
| Name | Declaration |
|---|---|
ApplyImpulse | event ApplyImpulse(Vector ImpulseDir, float ImpulseMag, Vector HitLocation, optional TraceHitInfo HitInfo, optional class<DamageType> DamageType) |
Destroyed | simulated event Destroyed() |
FellOutOfWorld | simulated event FellOutOfWorld(class<DamageType> dmgType) |
GetKActorPhysMaterial | final native function PhysicalMaterial GetKActorPhysMaterial() |
OnTeleport | simulated function OnTeleport(SeqAct_Teleport inAction) |
OnToggle | simulated function OnToggle(SeqAct_Toggle action) |
PostBeginPlay | simulated event PostBeginPlay() |
ReplicatedEvent | simulated event ReplicatedEvent(name VarName) |
Reset | simulated function Reset() |
ResolveRBState | final native function ResolveRBState() |
SetPhysicalCollisionProperties | simulated function SetPhysicalCollisionProperties() |
SpawnedByKismet | simulated event SpawnedByKismet() |
TakeDamage | event TakeDamage(int Damage, Controller EventInstigator, vector HitLocation, vector Momentum, class<DamageType> DamageType, optional TraceHitInfo HitInfo, optional Actor DamageCauser) |
TakeRadiusDamage | simulated function TakeRadiusDamage(Controller InstigatedBy, float BaseDamage, float DamageRadius, class<DamageType> DamageType, float Momentum, vector HurtOrigin, bool bFullDamage, Actor DamageCauser, optional float DamageFalloffExponent = 1.f) |
Default values¶
TickGroup=TG_PostAsyncWork
bDamageAppliesImpulse=true
bNetInitialRotation=true
Physics=PHYS_RigidBody
bStatic=false
bCollideWorld=false
bProjTarget=true
bBlockActors=true
bWorldGeometry=false
bNoDelete=true
bAlwaysRelevant=true
bSkipActorPropertyReplication=false
bUpdateSimulatedPosition=true
bReplicateMovement=true
RemoteRole=ROLE_SimulatedProxy
bCollideActors=true
bNoEncroachCheck=true
bBlocksTeleport=true
bBlocksNavigation=true
bPawnCanBaseOn=false
bSafeBaseIfAsleep=TRUE
bNeedsRBStateReplication=true
StayUprightTorqueFactor=1000.0
StayUprightMaxTorque=1500.0
MaxPhysicsVelocity=350.0
ReplicatedDrawScale3D=(X=1000.0,Y=1000.0,Z=1000.0)
bDisableClientSidePawnInteractions=TRUE
Inherited¶
| From | Members |
|---|---|
| DynamicSMActor | 11 properties, 9 functions |
| Actor | 156 properties, 262 functions |
| Object | 13 properties, 308 functions |