Chaindriver
06-23-2011, 04:32 PM
Hi,
I have a question regarding the SDF collision volume that are created for rigid bodies. It looks like the SDF volume is always aligned to the world XYZ axes, so if I have a thin object that is not aligned to the world axes, the SDF volume won't get generated properly for certain parts of the object. I could increase the resolution and play around with the Sign Sweep Threshold etc, but what I would really like is for the volume to be generated nicely according to the objects orientation.
Is there any way to ask the SDF volume to be generated in object space, so that the the object is aligned to the XYZ axes and the volume can be generated properly?
I tried writing out the collision volume (one of the options in the RBD object node): I aligned the object to the world XYZ axes, let the RBD node calculate the SDF volume, changed the File Mode to Write so that it's written out to disk, changed the File Mode to Read, then rotated the object so that it's not aligned to the world XYZ axes. It doesn't work. The collision volume is still aligned to the world XYZ axes...
Any help/tips would be greatly appreciated, thanks!
I have a question regarding the SDF collision volume that are created for rigid bodies. It looks like the SDF volume is always aligned to the world XYZ axes, so if I have a thin object that is not aligned to the world axes, the SDF volume won't get generated properly for certain parts of the object. I could increase the resolution and play around with the Sign Sweep Threshold etc, but what I would really like is for the volume to be generated nicely according to the objects orientation.
Is there any way to ask the SDF volume to be generated in object space, so that the the object is aligned to the XYZ axes and the volume can be generated properly?
I tried writing out the collision volume (one of the options in the RBD object node): I aligned the object to the world XYZ axes, let the RBD node calculate the SDF volume, changed the File Mode to Write so that it's written out to disk, changed the File Mode to Read, then rotated the object so that it's not aligned to the world XYZ axes. It doesn't work. The collision volume is still aligned to the world XYZ axes...
Any help/tips would be greatly appreciated, thanks!
