r/vrdev • • 4d ago

Question Normalizing VR controller swing speed vs mouse-driven swing for cross-play sword combat: prior art?

Solo dev, Unity. I'm designing a sword arena where VR and KBM players share matches. I only have a small PC prototype right now, and VR support comes later, so I want the architecture right early.

The problem: a VR player physically swings a controller, a KBM player moves a mouse. I want clash outcomes decided by "force" (swing speed + weapon weight + character stats), with both inputs mapped onto the same 1-10 speed scale rather than a hard speed cap, so raising mouse sensitivity doesn't make the sword faster.

Questions:

  1. How would you measure and normalize VR controller velocity versus mouse-driven sword velocity? Per-input calibration curves?
  2. Full rigidbody physics for swords, or a custom clash resolver on top of kinematic blades?
  3. How do you keep sword clashes consistent over the network with latency? Server-authoritative resolution?
  4. Any pitfalls with haptics during sword binds?

Papers, GDC talks and open-source examples are very welcome. Thanks!

1 Upvotes

1 comment sorted by

1

u/AutoModerator 4d ago

Want a more personal conversation with VR devs? Check out our Discord in our Discord: https://discord.gg/3wMYE2x5Ex

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.