Dear all,
We received a request from an enthusiastic player to implement a new input mechanism. Since we did the heavy lifting for this when we implemented our experimental VR system... we were able to support this other motion-capture-based mechanism pretty easily as well.
We're uncertain that it will work for the player's needs... but here's to hoping!
We will document this more clearly eventually and hopefully will release a first-party solution to support this, but in the mean time, hopefully this will work for the player who requested it!
If this fails to address the player's need, we will likely try again
Most gratefully,
The Joust Development Team
p.s., below is a small bit of Python code that might help people use this input mechanism themselves.
NOTE: the following requires python and a third-party package (for SimpleUDPClient). Please evaluate the usage of ANY third-party tools with great rigor are care. The Joust Development Team does not recommend using this library in a non-sandboxed environment and bears no affiliation to its authors.
WARNING: Please proceed with great caution and only if you're certain you know what you're doing!
WARNING2: Seriously. Be careful.
from pythonosc.udp_client import SimpleUDPClient
osc = SimpleUDPClient("127.0.0.1", 9000)
def send_arms(main_wrist, main_elbow, off_wrist, off_elbow):
# each argument: an object with .x/.y (e.g. MediaPipe world landmarks)
(INDENT) osc.send_message("/joust/arm/main",
[main_wrist.x - main_elbow.x, -(main_wrist.y - main_elbow.y)])
(INDENT) osc.send_message("/joust/arm/off",
[off_wrist.x - off_elbow.x, -(off_wrist.y - off_elbow.y)])
