unreal.InitialCharacterControls

class unreal.InitialCharacterControls(character_actor: Actor = Ellipsis, skeletal_mesh_component_name: Name = 'None', limb_setup_data: None = [], world_space_control_data: PhysicsControlData = Ellipsis, world_space_control_settings: PhysicsControlSettings = Ellipsis, enable_world_space_controls: bool = False, parent_space_control_data: PhysicsControlData = Ellipsis, parent_space_control_settings: PhysicsControlSettings = Ellipsis, enable_parent_space_controls: bool = False, physics_movement_type: PhysicsMovementType = Ellipsis)

Bases: StructBase

Structure that holds the data necessary to set up a default set of limb controls for a character

C++ Source:

  • Plugin: PhysicsControl

  • Module: PhysicsControl

  • File: PhysicsControlActor.h

Editor Properties: (see get_editor_property/set_editor_property)

  • character_actor (Actor): [Read-Write] The owner of the character skeletal mesh

  • enable_parent_space_controls (bool): [Read-Write]

  • enable_world_space_controls (bool): [Read-Write]

  • limb_setup_data (Array[PhysicsControlLimbSetupData]): [Read-Write]

  • parent_space_control_data (PhysicsControlData): [Read-Write]

  • parent_space_control_settings (PhysicsControlSettings): [Read-Write]

  • physics_movement_type (PhysicsMovementType): [Read-Write]

  • skeletal_mesh_component_name (Name): [Read-Write] The skeletal mesh that will have controls set up. If this is blank but there is an actor, then we’ll attempt to use the root component.

  • world_space_control_data (PhysicsControlData): [Read-Write]

  • world_space_control_settings (PhysicsControlSettings): [Read-Write]

property character_actor: Actor

[Read-Write] The owner of the character skeletal mesh

Type:

(Actor)

property enable_parent_space_controls: bool

[Read-Write]

Type:

(bool)

property enable_world_space_controls: bool

[Read-Write]

Type:

(bool)

property limb_setup_data: None

[Read-Write]

Type:

(Array[PhysicsControlLimbSetupData])

property parent_space_control_data: PhysicsControlData

[Read-Write]

Type:

(PhysicsControlData)

property parent_space_control_settings: PhysicsControlSettings

[Read-Write]

Type:

(PhysicsControlSettings)

property physics_movement_type: PhysicsMovementType

[Read-Write]

Type:

(PhysicsMovementType)

property skeletal_mesh_component_name: Name

[Read-Write] The skeletal mesh that will have controls set up. If this is blank but there is an actor, then we’ll attempt to use the root component.

Type:

(Name)

property world_space_control_data: PhysicsControlData

[Read-Write]

Type:

(PhysicsControlData)

property world_space_control_settings: PhysicsControlSettings

[Read-Write]

Type:

(PhysicsControlSettings)