What triggers collision OSC messages to be sent?

Accueil Forums Feedback What triggers collision OSC messages to be sent?

  • Ce sujet contient 4 réponses, 3 participants et a été mis à jour pour la dernière fois par Anonyme, le il y a 13 années.
5 sujets de 1 à 5 (sur un total de 5)
  • Auteur
    Messages
  • #2236 Répondre
    IanniX
    Maître des clés

    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?

    #2741 Répondre
    Anonyme
    Inactif

    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.

    – Chris

    #2742 Répondre
    IanniX
    Maître des clés

    Ah thank you, I see now.

    I had thought collision messages were sent out on their own, not as parameters on a cursor message.

    #2743 Répondre
    Anonyme
    Inactif

    @heuermh wrote:

    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.

    Cheers,
    –Bob

    #2744 Répondre
    Anonyme
    Inactif

    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:
    – collision_curve_id
    – collision_xPos
    – collision_yPos
    – collision_value_x
    – collision_value_y

    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.)

    – Chris

5 sujets de 1 à 5 (sur un total de 5)
Répondre à : What triggers collision OSC messages to be sent?
Vos informations :





© IanniX Association

Qu'est-ce que IanniX ? | Téléchargement | Showcase | Forum | Recherche | À propos