move_gun
Pose a rifle in Blender with roll, swing, pitch, pivot, and right/forward/up offsets while selected hands keep their hold; returns hand hold distances and barrel angle off view.
Instructions
Moves the rifle from where it stands: roll + turns its right side up (about the bore); swing + takes the muzzle left, pitch + the muzzle up (about the pivot); right, forward, up move it in the view, cm. The hands in keep_hands keep their hold. Returns how far each hand ended from its hold and the barrel's angle off the view line.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| up | No | ||
| roll | No | ||
| pitch | No | ||
| pivot | No | a rig point (stock, bore) or [x, y, z] in the gun frame | stock |
| right | No | ||
| swing | No | ||
| forward | No | ||
| keep_hands | No | hands that keep their hold on the rifle as it moves (arm IK) |