I’ve been playing with IanniX with OSC for a short while and haven’t been able to figure out how to trigger collision OSC messages to be sent. Presumably it should happen when the cursor on one curve meets another curve?
If a cursor’s message has at least one of the collision_* variables, then the parameter’s value is sent as part of the message, but only while the cursor is actually colliding with a curve. While no collision is occurring, that variable’s value is omitted from the message.
This means that the collision_* variable(s) would preferably be at the end of the list of variables in the message. Otherwise the position of the non-collision variables will shift depending on whether a collision is occurring, causing, for example the variable in position #5 to be in position #4 when a collision is not occurring, causing miss-assignment in the receiving application.
I had thought collision messages were sent out on their own, not as parameters on a cursor message.
Have you been discussing the branch by Chris or the main 0.8.21 version?
There is a collision message sent out on its own, and that is when a cursor has a collision with a trigger object. This is not a cursor OSC message, rather, it is a trigger OSC message. I don’t know about any other “collisions” in 0.8.21.
I thought the question was about the collision_* family of cursor messages (see below).
Bob is right, that triggers send messages when collided with by cursors.
In 0.8.21 there are also these variables that can be used in cursor messages:
When included in a cursor message, these are sent, when the cursor is colliding with a curve, and suppressed otherwise. (However note that there is a bug that prevents collisions with single-line curves from being detected.)