mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-20 06:00:26 +02:00
The first-person model hung from a camera at one fixed place from the weapon hand's controller (18 cm behind, 10 cm left, 14 cm above), but each weapon's animations hold the hand elsewhere from that camera: the pistol's wrist came out 15 cm before the controller (22 cm before where the free hand's wrist is, 7 cm behind its grip), the plasma pistol's 11, the assault rifle's 8 cm aside and 10 cm low; the weapon arm looked longer, reaching forward. Measured on the Quest 3 (2026-10-17). Now the wrist as the weapon is held ready is kept for each weapon (eased, the last eight weapons), and the camera put so that it lands where the free hand's does: 7 cm behind the grip, along the aim. The model, its barrel, the laser and the shots move with the camera, as before. A weapon not yet seen is held at the old place for its first frame. vr.weapon_hand_forward/_right/_down (0 by default) move the hand on the weapon; vr.weapon_forward/_right/_down, the old fixed place, are gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>