unreal.BodySetupCore

class unreal.BodySetupCore(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: Object

Body Setup Core

C++ Source:

  • Module: PhysicsCore

  • File: BodySetupCore.h

Editor Properties: (see get_editor_property/set_editor_property)

  • bone_name (Name): [Read-Only] Bone Name: Used in the PhysicsAsset case. Associates this Body with Bone in a skeletal mesh.

  • collision_reponse (BodyCollisionResponse): [Read-Write] Collision Reponse: Collision Type for this body. This eventually changes response to collision to others *

  • collision_trace_flag (CollisionTraceFlag): [Read-Write] Collision Trace Flag: Collision Trace behavior - by default, it will keep simple(convex)/complex(per-poly) separate *

  • physics_type (PhysicsType): [Read-Write] Physics Type: If simulated it will use physics, if kinematic it will not be affected by physics, but can interact with physically simulated bodies. Default will inherit from OwnerComponent’s behavior.