Navigation
API > API/Plugins > API/Plugins/PhysicsControl
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UPhysicsControlInitializerComponent
References
| Module | PhysicsControl |
| Header | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Public/PhysicsControlActor.h |
| Include | #include "PhysicsControlActor.h" |
Syntax
UCLASS&40;Meta&61;&40;BlueprintSpawnableComponent&41;, ClassGroup&61;Physics, Experimental&41;
class UPhysicsControlInitializerComponent : public USceneComponent
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bCreateControlsAtBeginPlay | If set, then CreateControls will be called in our BeginPlay event, attempting to find a PhysicsControlComponent in our parent actor. | |
| TMap< FName, FInitialBodyModifier > | InitialBodyModifiers | This can be filled in to automatically create body modifiers during the BeginPlay event. | |
| FInitialCharacterControls | InitialCharacterControls | This can be filled in to automatically create whole-character controls (by specifying limbs etc) for a skeletal mesh during the BeginPlay event. | |
| TMap< FName, FInitialPhysicsControl > | InitialControls | This can be filled in to automatically create controls during the BeginPlay event. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UPhysicsControlInitializerComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CreateControls
(
UPhysicsControlComponent* PhysicsControlComponent |
This creates all the controls specified in the Initial properties. |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | BeginPlay () |
Begins Play for the component. |