Class RadialForceComponent
Used to emit a radial force or impulse that can affect physics objects and or destructible objects.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class RadialForceComponent : SceneComponent
Properties
| Improve this Doc View SourcebIgnoreOwningActor
Declaration
public bool bIgnoreOwningActor { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
bImpulseVelChange
Declaration
public bool bImpulseVelChange { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static RadialForceComponent DefaultObject { get; }
Property Value
Type | Description |
---|---|
RadialForceComponent |
DestructibleDamage
If > 0.f, will cause damage to destructible meshes as well
Declaration
public float DestructibleDamage { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Falloff
How the force or impulse should fall off as object are further away from the center
Declaration
public byte Falloff { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
ForceStrength
How strong the force should be
Declaration
public float ForceStrength { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
ImpulseStrength
How strong the impulse should be
Declaration
public float ImpulseStrength { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Radius
The radius to apply the force or impulse in
Declaration
public float Radius { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceAddObjectTypeToAffect(Byte)
Add an object type for this radial force to affect
Declaration
public void AddObjectTypeToAffect(byte ObjectType)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | ObjectType |
FireImpulse()
Fire a single impulse
Declaration
public void FireImpulse()
New(UObject, Name)
Spawn an object of this class
Declaration
public static RadialForceComponent New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
RadialForceComponent |
RemoveObjectTypeToAffect(Byte)
Remove an object type that is affected by this radial force
Declaration
public void RemoveObjectTypeToAffect(byte ObjectType)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | ObjectType |
Operators
| Improve this Doc View SourceImplicit(IntPtr to RadialForceComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator RadialForceComponent(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
RadialForceComponent |