maybites / NodeOSC

blender OSC addon to be used with nodes
GNU General Public License v3.0
123 stars 18 forks source link

How to convert args? #25

Closed PonieseValtyrk closed 2 years ago

PonieseValtyrk commented 2 years ago

My app on my Phone can only output XYZ rotation messages in three different addresses, however the rotaion information in Blender is a float array of 3 items. Can I convert these three addresses into one address with 3 args?

PonieseValtyrk commented 2 years ago

Solved, I recieved on Max and converted it to list then sent messages from max to blender.

maybites commented 2 years ago

you can do it in NodeOSC, too:

datapath: for x rotation: bpy.data.objects['Cube'].rotation_euler[0] for y rotation: bpy.data.objects['Cube'].rotation_euler[1] for z rotation: bpy.data.objects['Cube'].rotation_euler[2]