set_collision_settings
Set collision presets, overlap events, and hidden-in-game flags on Unreal Blueprint components to define physics interactions and visual presence during gameplay.
Instructions
Set collision and visibility settings on a Blueprint component.
From Ch. 9 (AI setup) - used to configure CapsuleComponent collision and to hide components in-game.
Collision presets: NoCollision, OverlapAll, BlockAll, BlockAllDynamic, OverlapAllDynamic, Pawn, PhysicsActor, Trigger, InvisibleWall
Args: blueprint_name: Target Blueprint component_name: Component to configure collision_preset: Collision preset name generate_overlap_events: Whether to fire overlap events hidden_in_game: Hide this component during gameplay
KB: see knowledge_base/08_MATERIALS_AND_RENDERING.md#overview Example: set_collision_settings(blueprint_name="/Game/MCP_Test/BP_Example", component_name="ExampleComponent")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blueprint_name | Yes | ||
| component_name | Yes | ||
| hidden_in_game | No | ||
| collision_preset | No | BlockAllDynamic | |
| generate_overlap_events | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |