11-11-2024, 04:52 PM
Hey, so I have a simple character rigged along with a shirt that's also rigged. Each are separate, and both have an animator component with the same animator controller, using the character's avatar for both the character and shirt. When I play the scene the looping walk cycle plays on both skinned meshes correctly. Great.
Both of those are added to a parent game object called NPC. On the NPC game object I have the Obi Solver. on the Skinned Mesh Renderer for the shirt I have Obi SkinnedCloth and Obi Skinned Cloth Renderer. When I play the scene the cloth behaves as expected, with clipping of course since I haven't played around with the settings.
I've installed the Unity Git Hub link for SDF:
https://github.com/Unity-Technologies/co...esh-to-sdf
I created a Game Object called SDF Texture, and assigned the SDF Texture script. I duplicated the SDFTexture-SkinnedMesh texture from the Git Hub example scene, and assigned that to the SDF Texture game object. Next, on my characters Skinned Mesh Renderer, I added a Mesh to SDF script, and assigned that duplicated texture.
After all of that I'm at a loss as to what the next steps would be. Is there a video on how to do this? If not, could you advise me on what I need to do next please?
Thanks!
Both of those are added to a parent game object called NPC. On the NPC game object I have the Obi Solver. on the Skinned Mesh Renderer for the shirt I have Obi SkinnedCloth and Obi Skinned Cloth Renderer. When I play the scene the cloth behaves as expected, with clipping of course since I haven't played around with the settings.
I've installed the Unity Git Hub link for SDF:
https://github.com/Unity-Technologies/co...esh-to-sdf
I created a Game Object called SDF Texture, and assigned the SDF Texture script. I duplicated the SDFTexture-SkinnedMesh texture from the Git Hub example scene, and assigned that to the SDF Texture game object. Next, on my characters Skinned Mesh Renderer, I added a Mesh to SDF script, and assigned that duplicated texture.
After all of that I'm at a loss as to what the next steps would be. Is there a video on how to do this? If not, could you advise me on what I need to do next please?
Thanks!