| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/RadialForceComponent.h |
Include |
#include "PhysicsEngine/RadialForceComponent.h" |
class URadialForceComponent : public USceneComponent
Used to emit a radial force or impulse that can affect physics objects and or destructible objects.
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bIgnoreOwningActor |
If true, do not apply force/impulse to any physics objects that are part of the Actor that owns this component. |
|
uint32: 1 |
bImpulseVelChange |
If true, the impulse will ignore mass of objects and will always result in a fixed velocity change |
|
CollisionObjectQueryParams |
Cached object query params derived from ObjectTypesToAffect |
|
|
float |
DestructibleDamage |
If > 0.f, will cause damage to destructible meshes as well |
|
TEnumAsByte< en... |
Falloff |
How the force or impulse should fall off as object are further away from the center |
|
float |
ForceStrength |
How strong the force should be |
|
float |
ImpulseStrength |
How strong the impulse should be |
|
ObjectTypesToAffect |
The object types that are affected by this radial force |
|
|
float |
Radius |
The radius to apply the force or impulse in |
Name | Description | |
---|---|---|
|
URadialForceComponent ( |
Name | Description | ||
---|---|---|---|
|
AddCollisionChannelToAffect ( |
Add a collision channel for this radial force to affect |
|
|
AddObjectTypeToAffect ( |
Add an object type for this radial force to affect |
|
|
FireImpulse() |
Fire a single impulse |
|
|
RemoveObjectTypeToAffect ( |
Remove an object type that is affected by this radial force |
|
|
UpdateCollisionObjectQueryParams() |
Update CollisionObjectQueryParams from ObjectTypesToAffect |
Name | Description | ||
---|---|---|---|
|
BeginPlay() |
Begins Play for the component. |
|
|
TickComponent ( |
Function called every frame on this ActorComponent. |
Name | Description | ||
---|---|---|---|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |