unreal.PVColliderParams

class unreal.PVColliderParams

Bases: StructBase

PVCollider Params

C++ Source:

  • Plugin: ProceduralVegetationEditor

  • Module: ProceduralVegetation

  • File: PVObjectInteractionSettings.h

Editor Properties: (see get_editor_property/set_editor_property)

  • collision_type (PVCollisionType): [Read-Write] How growth responds to this collider.

    Avoid: branches bend around the volume. Trim Outside: keep only growth inside the volume. Trim Inside: remove growth inside the volume.

  • mesh (StaticMesh): [Read-Write] The static mesh used as the collider shape.

    Any static mesh — typically simple primitives like boxes, spheres, or capsules. Complex meshes work but cost more per evaluation.

  • smoothness_amount (int32): [Read-Write] Smoothing iterations applied to deflected branches.

    Higher values create smoother bends around the collider. 0 = sharp deflection at contact; higher values produce gradual curves over more points.

  • smoothness_factor (float): [Read-Write] Strength of the smoothing per iteration.

    1.0 = full smoothing per iteration. Lower values produce more subtle smoothing.

  • transform (Transform): [Read-Write] World-space transform of the collider.

    Position, rotation, and scale of the collider relative to the plant’s origin.