Class PhysicsHandleComponent
Utility object for moving physics objects around.
Inheritance
System.Object
PhysicsHandleComponent
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)
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
|
Improve this Doc
View Source
GrabbedComponent
Component we are currently holding
Declaration
public PrimitiveComponent GrabbedComponent { get; set; }
Property Value
|
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
Declaration
public static Class StaticClass { get; }
Property Value
Methods
|
Improve this Doc
View Source
GetGrabbedComponent()
Returns the currently grabbed component, or null if nothing is grabbed.
Declaration
public PrimitiveComponent GetGrabbedComponent()
Returns
|
Improve this Doc
View Source
GetTargetLocationAndRotation()
Get the current location and rotation
Declaration
public (Vector, Rotator) GetTargetLocationAndRotation()
Returns
|
Improve this Doc
View Source
GrabComponent(PrimitiveComponent, Name, Vector, Boolean)
Declaration
public void GrabComponent(PrimitiveComponent Component, Name InBoneName, Vector GrabLocation, bool bConstrainRotation)
Parameters
|
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
|
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
|
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
Returns
|
Improve this Doc
View Source
ReleaseComponent()
Release the currently held component
Declaration
public void ReleaseComponent()
|
Improve this Doc
View Source
SetAngularDamping(Single)
Declaration
public void SetAngularDamping(float NewAngularDamping)
Parameters
Type |
Name |
Description |
System.Single |
NewAngularDamping |
|
|
Improve this Doc
View Source
SetAngularStiffness(Single)
Declaration
public void SetAngularStiffness(float NewAngularStiffness)
Parameters
Type |
Name |
Description |
System.Single |
NewAngularStiffness |
|
|
Improve this Doc
View Source
SetInterpolationSpeed(Single)
Declaration
public void SetInterpolationSpeed(float NewInterpolationSpeed)
Parameters
Type |
Name |
Description |
System.Single |
NewInterpolationSpeed |
|
|
Improve this Doc
View Source
SetLinearDamping(Single)
Declaration
public void SetLinearDamping(float NewLinearDamping)
Parameters
Type |
Name |
Description |
System.Single |
NewLinearDamping |
|
|
Improve this Doc
View Source
SetLinearStiffness(Single)
Declaration
public void SetLinearStiffness(float NewLinearStiffness)
Parameters
Type |
Name |
Description |
System.Single |
NewLinearStiffness |
|
|
Improve this Doc
View Source
SetTargetLocation(Vector)
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
|
Improve this Doc
View Source
SetTargetRotation(Rotator)
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