| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/PhysicsHandleComponent.h |
Include |
#include "PhysicsEngine/PhysicsHandleComponent.h" |
class UPhysicsHandleComponent : public UActorComponent
Utility object for moving physics objects around.
Name | Description | ||
---|---|---|---|
|
float |
AngularDamping |
Angular damping of the handle spring |
|
float |
AngularStiffness |
Angular stiffness of the handle spring |
|
uint32: 1 |
bInterpolateTarget |
|
|
uint32: 1 |
bRotationConstrained |
Are we currently constraining the rotation of the grabbed object. |
|
uint32: 1 |
bSoftAngularConstraint |
|
|
uint32: 1 |
bSoftLinearConstraint |
|
|
CurrentTransform |
Current transform |
|
|
GrabbedBoneName |
Name of bone, if we are grabbing a skeletal component |
|
|
GrabbedComponent |
Component we are currently holding |
|
|
physx::PxD6Join... |
HandleData |
Pointer to PhysX joint used by the handle |
|
float |
InterpolationSpeed |
How quickly we interpolate the physics target transform |
|
physx::PxRigidD... |
KinActorData |
Pointer to kinematic actor jointed to grabbed object |
|
float |
LinearDamping |
Linear damping of the handle spring. |
|
float |
LinearStiffness |
Linear stiffness of the handle spring |
|
TargetTransform |
Target transform |
Name | Description | |
---|---|---|
|
UPhysicsHandleComponent ( |
Name | Description | ||
---|---|---|---|
|
UPrimitiveCo... |
GetGrabbedComponent() |
Returns the currently grabbed component, or null if nothing is grabbed. |
|
GetTargetLocationAndRotation |
Get the current location and rotation |
|
|
GrabComponentAtLocation ( |
Grab the specified component at a given location. |
|
|
GrabComponentAtLocationWithRotation ( |
Grab the specified component at a given location and rotation. Constrains rotation. |
|
|
GrabComponentImp ( |
||
|
ReleaseComponent() |
Release the currently held component |
|
|
SetAngularDamping ( |
Set angular damping |
|
|
SetAngularStiffness ( |
Set angular stiffness |
|
|
SetInterpolationSpeed ( |
Set interpolation speed |
|
|
SetLinearDamping ( |
Set linear damping |
|
|
SetLinearStiffness ( |
Set linear stiffness |
|
|
SetTargetLocation ( |
Set the target location |
|
|
SetTargetLocationAndRotation |
Set target location and rotation |
|
|
SetTargetRotation ( |
Set the target rotation |
|
|
UpdateDriveSettings() |
Update the underlying constraint drive settings from the params in this component |
|
|
UpdateHandleTransform ( |
Move the kinematic handle to the specified |
Name | Description | ||
---|---|---|---|
|
OnUnregister() |
Called when a component is unregistered. |
|
|
TickComponent ( |
Function called every frame on this ActorComponent. |
Name | Description | ||
---|---|---|---|
|
GrabComponent ( |
Please use GrabComponentAtLocation or GrabComponentAtLocationWithRotation |