johnmather
Hi Tyler,
Could you please attach the HDA so that I can take a look?
I recreated it here.
johnmather
Hi Tyler,
Could you please attach the HDA so that I can take a look?
johnmather
Hi Tyler,
Can you try without the WT:: namespace before the asset name? Maya may be trying to convert it to underscores as they are illegal in Maya DAG Paths.
npetit
Hi Tyler,
Unfortunately, the way you have wired this up, the ground ends up being deforming geometry and thus does not have any implicit transform updates to drive the constraints.
It's also not the most efficient way of setting this up - deforming RBDs can be quite expensive.
If you apply the transform to the ground proxy geo after the RBD Configure SOP, and only set the ground to “animated”, not “deforming”, the box will move with the ground.
vector N = qrotate(p@orient, {0,0,1}); vector up = qrotate(p@orient, {0,1,0}); //matrix xform = primintrinsic(0, "transform", @ptnum); matrix xform = maketransform(N, up, @P); vector new_pivot = {0,0,0}; //vector old_pivot = primintrinsic(0, "pivot", @ptnum); vector old_pivot = v@pivot; vector offset = new_pivot - old_pivot; //setprimintrinsic(0, "pivot", @ptnum, new_pivot); v@pivot = new_pivot; @P = offset * xform;
prefsPath = '/mnt/warehouse6/cask1/users/%s/%s%s' % ("USER", hou.applicationName(), ".".join(hou.applicationVersionString().split(".")[:-1])) hou.putenv("HOUDINI_USER_PREF_DIR", prefsPath)