set_static_mesh_socket_transform
Update a static mesh socket's relative location, rotation, or scale by providing only the fields to change; invalid non-three-number vectors are rejected.
Instructions
Update the relative transform of an existing static mesh socket (only the provided fields). A location, rotation or scale that is not three numbers is an error.
Returns: { static_mesh_path, socket_name, updated, location:{x,y,z}, rotation:{pitch,yaw,roll}, scale:{x,y,z}, saved }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Socket relative scale as [x, y, z] (optional). | |
| location | No | Socket relative location as [x, y, z] (optional). | |
| rotation | No | PREFERRED: the OBJECT {"roll":R,"pitch":P,"yaw":Y} (any subset, absent axes are 0). The ARRAY form below is [pitch, yaw, roll] -- its index 2 is ROLL, NOT yaw, which once put a PlayerStart on its side. Socket relative rotation as [pitch, yaw, roll] (optional). | |
| socket_name | Yes | Name of the socket to update. | |
| static_mesh_path | Yes | Content path to the UStaticMesh asset. |