MARUI-PlugIn / BlenderXR

Use Blender in VR/AR/XR
GNU General Public License v3.0
259 stars 44 forks source link

No tool to pose models with. #20

Open DuckersMcQuack opened 5 years ago

DuckersMcQuack commented 5 years ago

I wanted to use it for easier posing, but there was no option on the controllers for that.

max-krichenbauer commented 5 years ago

You can use the transform tool to move and rotate joints. If I misunderstand your question, can you please explain more what you mean by "posing"?

DuckersMcQuack commented 5 years ago

I mean in pose mode. Be able to move/rotate joints with the vive controllers. I tried transform tool, but didn't work.

max-krichenbauer commented 5 years ago

Sorry, then it's a bug. I'll check it out.

imjinc2k commented 4 years ago

Possible clue: I tried working around this by creating a cube Object, and adding a "Copy Transform" constraint to the pose bone, targeting the cube. However, the constraint doesn't update when the cube is transformed via touch controller, but only updates when the cube is moved by the "G" key and mouse. I'm using a Rift-S.

yonixw commented 3 years ago

To continue on @imjinc2k clue, a blender script timer which refresh the "Armature" object location every 50ms seems to have the desired effect. Now only to make script that attach a cube to each existing bone...

def x():
    bpy.data.objects['Armature'].location =  bpy.data.objects['Armature'].location
    return 0.05 # update every 50ms

bpy.app.timers.register(x)

ezgif-4-89e1a272d387