Show / Hide Table of Contents

Class PhysicsHandleComponent

Utility object for moving physics objects around.

Inheritance
System.Object
UObject
ActorComponent
PhysicsHandleComponent
Inherited Members
ActorComponent.RegisterComponent()
ActorComponent.UnregisterComponent()
ActorComponent.ReceiveBeginPlay
ActorComponent.ReceiveEndPlay
ActorComponent.ReceiveTick
ActorComponent.Activate(Boolean)
ActorComponent.AddTickPrerequisiteActor(Actor)
ActorComponent.AddTickPrerequisiteComponent(ActorComponent)
ActorComponent.ComponentHasTag(Name)
ActorComponent.Deactivate()
ActorComponent.GetComponentTickInterval()
ActorComponent.GetOwner()
ActorComponent.IsActive()
ActorComponent.IsBeingDestroyed()
ActorComponent.IsComponentTickEnabled()
ActorComponent.K2_DestroyComponent(UObject)
ActorComponent.RemoveTickPrerequisiteActor(Actor)
ActorComponent.RemoveTickPrerequisiteComponent(ActorComponent)
ActorComponent.SetActive(Boolean, Boolean)
ActorComponent.SetAutoActivate(Boolean)
ActorComponent.SetComponentTickEnabled(Boolean)
ActorComponent.SetComponentTickInterval(Single)
ActorComponent.SetIsReplicated(Boolean)
ActorComponent.SetTickableWhenPaused(Boolean)
ActorComponent.SetTickGroup(Byte)
ActorComponent.ToggleActive()
ActorComponent.PrimaryComponentTick
ActorComponent.AssetUserData
ActorComponent.bReplicates
ActorComponent.bNetAddressable
ActorComponent.bAutoActivate
ActorComponent.bIsActive
ActorComponent.bEditableWhenInherited
ActorComponent.bCanEverAffectNavigation
ActorComponent.bIsEditorOnly
ActorComponent.bIsVisualizationComponent
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
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 PhysicsHandleComponent : ActorComponent

Properties

| Improve this Doc View Source

AngularDamping

Angular damping of the handle spring

Declaration
public float AngularDamping { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

AngularStiffness

Angular stiffness of the handle spring

Declaration
public float AngularStiffness { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

bInterpolateTarget

Declaration
public bool bInterpolateTarget { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bSoftAngularConstraint

Declaration
public bool bSoftAngularConstraint { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bSoftLinearConstraint

Declaration
public bool bSoftLinearConstraint { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static PhysicsHandleComponent DefaultObject { get; }
Property Value
Type Description
PhysicsHandleComponent
| Improve this Doc View Source

GrabbedComponent

Component we are currently holding

Declaration
public PrimitiveComponent GrabbedComponent { get; set; }
Property Value
Type Description
PrimitiveComponent
| Improve this Doc View Source

InterpolationSpeed

How quickly we interpolate the physics target transform

Declaration
public float InterpolationSpeed { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

LinearDamping

Linear damping of the handle spring.

Declaration
public float LinearDamping { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

LinearStiffness

Linear stiffness of the handle spring

Declaration
public float LinearStiffness { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class

Methods

| Improve this Doc View Source

GetGrabbedComponent()

Returns the currently grabbed component, or null if nothing is grabbed.

Declaration
public PrimitiveComponent GetGrabbedComponent()
Returns
Type Description
PrimitiveComponent
| Improve this Doc View Source

GetTargetLocationAndRotation()

Get the current location and rotation

Declaration
public (Vector, Rotator) GetTargetLocationAndRotation()
Returns
Type Description
System.ValueTuple<Vector, Rotator>
| Improve this Doc View Source

GrabComponent(PrimitiveComponent, Name, Vector, Boolean)

Grab Component

Declaration
public void GrabComponent(PrimitiveComponent Component, Name InBoneName, Vector GrabLocation, bool bConstrainRotation)
Parameters
Type Name Description
PrimitiveComponent Component
Name InBoneName
Vector GrabLocation
System.Boolean bConstrainRotation
| Improve this Doc View Source

GrabComponentAtLocation(PrimitiveComponent, Name, Vector)

Grab the specified component at a given location. Does NOT constraint rotation which means the handle will pivot about GrabLocation.

Declaration
public void GrabComponentAtLocation(PrimitiveComponent Component, Name InBoneName, Vector GrabLocation)
Parameters
Type Name Description
PrimitiveComponent Component
Name InBoneName
Vector GrabLocation
| Improve this Doc View Source

GrabComponentAtLocationWithRotation(PrimitiveComponent, Name, Vector, Rotator)

Grab the specified component at a given location and rotation. Constrains rotation.

Declaration
public void GrabComponentAtLocationWithRotation(PrimitiveComponent Component, Name InBoneName, Vector Location, Rotator Rotation)
Parameters
Type Name Description
PrimitiveComponent Component
Name InBoneName
Vector Location
Rotator Rotation
| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

Declaration
public static PhysicsHandleComponent New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
PhysicsHandleComponent
| Improve this Doc View Source

ReleaseComponent()

Release the currently held component

Declaration
public void ReleaseComponent()
| Improve this Doc View Source

SetAngularDamping(Single)

Set angular damping

Declaration
public void SetAngularDamping(float NewAngularDamping)
Parameters
Type Name Description
System.Single NewAngularDamping
| Improve this Doc View Source

SetAngularStiffness(Single)

Set angular stiffness

Declaration
public void SetAngularStiffness(float NewAngularStiffness)
Parameters
Type Name Description
System.Single NewAngularStiffness
| Improve this Doc View Source

SetInterpolationSpeed(Single)

Set interpolation speed

Declaration
public void SetInterpolationSpeed(float NewInterpolationSpeed)
Parameters
Type Name Description
System.Single NewInterpolationSpeed
| Improve this Doc View Source

SetLinearDamping(Single)

Set linear damping

Declaration
public void SetLinearDamping(float NewLinearDamping)
Parameters
Type Name Description
System.Single NewLinearDamping
| Improve this Doc View Source

SetLinearStiffness(Single)

Set linear stiffness

Declaration
public void SetLinearStiffness(float NewLinearStiffness)
Parameters
Type Name Description
System.Single NewLinearStiffness
| Improve this Doc View Source

SetTargetLocation(Vector)

Set the target location

Declaration
public void SetTargetLocation(Vector NewLocation)
Parameters
Type Name Description
Vector NewLocation
| Improve this Doc View Source

SetTargetLocationAndRotation(Vector, Rotator)

Set target location and rotation

Declaration
public void SetTargetLocationAndRotation(Vector NewLocation, Rotator NewRotation)
Parameters
Type Name Description
Vector NewLocation
Rotator NewRotation
| Improve this Doc View Source

SetTargetRotation(Rotator)

Set the target rotation

Declaration
public void SetTargetRotation(Rotator NewRotation)
Parameters
Type Name Description
Rotator NewRotation

Operators

| Improve this Doc View Source

Implicit(IntPtr to PhysicsHandleComponent)

Convert from IntPtr to UObject

Declaration
public static implicit operator PhysicsHandleComponent(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
PhysicsHandleComponent
  • Improve this Doc
  • View Source
Back to top Generated by DocFX