unreal.PCGCollisionShape

class unreal.PCGCollisionShape

Bases: StructBase

Parameters for conducting a sweep with a specified shape against the physical world.

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGCollisionShape.h

Editor Properties: (see get_editor_property/set_editor_property)

  • box_half_extent (Vector): [Read-Write] Half the size of the sweep box’s X, Y, Z components in world space.

  • capsule_half_height (float): [Read-Write] Half the length of the sweep’s capsule in world space.

  • capsule_radius (float): [Read-Write] Radius of the spherical shape of the sweep’s capsule in world space.

  • shape_rotation (Rotator): [Read-Write] World space rotation applied to the collision shape prior to the sweep.

  • shape_type (PCGCollisionShapeType): [Read-Write] Shape that will be used in the collision detection.

  • sphere_radius (float): [Read-Write] Radius of the sweep’s sphere in world space.