45. Fix position and direction after attaching
An attached effect is positioned from the target point every frame. Dragging its old world position is therefore not the reliable way to correct the final placement. Correct the target point or its Attachment Offset.
| Symptom | First correction |
|---|---|
| The effect is consistently above the hand | Reduce the offset on the appropriate local axis. Start from [0,0,0] if necessary. |
| The effect rotates oddly as the arm moves | Inspect the point rotation and bone choice. |
| A bolt comes out sideways | Check its Direction and the target point’s rotation together. |
| The effect follows the body, not the wrist | Use a bone-bound point rather than a root-space point merely placed near the hand. |
| One animation is wrong | Inspect that clip’s point override. |
| The target selector names the wrong actor | Choose the live scene entity; verify the stored ID. |
1. Freeze the actor in an easily understood pose.
2. Start with zero attachment offset.
3. Change one axis a small amount and test. This reveals which way that point’s local axis faces.
4. Check another animation before finishing. A point that works only while idle is not yet a reliable hand socket.
Attachment Offset is relative to the point’s orientation. “Positive Y” there is not necessarily the same visible direction as the room’s up axis after the hand rotates.
