Login | Register 
Products Applications Downloads Features Wiki forum Store
 

osc message with multiple values

Still a little green? Ask your beginner's questions here

osc message with multiple values

Postby ebkc » Fri Jun 15, 2012 9:14 am

hey !

the title is quite clear :)

messages look like /l_shoulderXYZ 21.9 34.7 45.9

is there a way to acces each value with some kind of dollar sign ?

the idea is I want them to go in the fields of the translate for the shoulder joint of my character rig

cheers
ebkc
 
Posts: 14
Joined: Tue Apr 10, 2012 6:38 pm

Re: osc message with multiple values

Postby ben » Fri Jun 15, 2012 10:35 am

If those messages are coming into DATs (I'm assuming an OSC DAT) then an easy way to extract each number is to follow with a Convert DAT and set the Split Cells At parameter to be a single whitespace (just clear the contect and press the spacebar once).

This will put all the values in separate columns, making it easy to use the tab() expression to grab what you need based n column index.
Attachments
separate_values.tox
(526 Bytes) Downloaded 8 times
User avatar
ben
Staff
 
Posts: 865
Joined: Thu Nov 08, 2007 5:55 pm
Location: Toronto


Return to Beginners

Who is online

Users browsing this forum: No registered users and 2 guests