add_vector_length_node
Add a Vector Length node to a Blueprint to calculate a vector's magnitude, enabling distance measurements in your Unreal Engine graph.
Instructions
Add a 'Vector Length' node - returns the magnitude/distance of a vector.
Ch.14: Length = sqrt(XX + YY + Z*Z). Use to measure distances.
Args: blueprint_name: Blueprint name node_position: Optional [X, Y] graph position
KB: see knowledge_base/26_CHAOS_PHYSICS_AND_DESTRUCTION.md#overview Example: add_vector_length_node(blueprint_name="/Game/MCP_Test/BP_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_position | No | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |