This determines when the depth value will be 1.0. Max Depth: The maximum depth of your orifice.Renderer: Renderer that has the shapekeys you want to drive.This allows you to drive shapekeys depending on penetration depth & penetrator size or even create custom animation based on those values. This will be auto filled by searching or should be assigned by you if creating a custom orifice. Root: On the left side should be the transform of the orifice root.Step 2.4 - Configure Orifices Required This is used to calculate the penetrator direction in case it is not aligned with the z direction. On your first setup or if you change the penetrator scale you should add a tip object. You need to rebake the penetrator after changing the mask as it is baked into the position / normal texture. The mask is a boolean mask and is read using the first uv channel. This requires a black & white texture, white = deform, black = don't deform. You can add a mask to define which parts of your mesh should be deformed by TPS. Skinned meshes need their position & normals baked to a texture to function correctly. Penetrators can be Skinned or Static meshes. Step 2.3 - Configure Penetrators Ĭlick the "Bake" button if it is available. If no fx layer is found you can create a new one & automatically assign it to your descriptor using the Create Fx Layer buttonĪfter making changes to your setup while the Wizard is open you will have to rescan your avatar.It will select the fx layer from your VRChat avatar descriptor.By default it will fill the field with an avatar from your scene, prioritizing the avatar with the most tps objects.This step has a lot of optional automation. Orifices are identified by having the prefix or by having tps lights already setup.Penetrators are identified by having the prefix or by having TPS enabled on their materials.This will find all penetrators & orifices on your avatar. Select your avatar root & its fx layer animator, then click the Scan Avatar for TPS button. Step 2 - Configure + Run Wizard Step 2.1 - Select your Avatar To make custom penetrators or custom orifices check out the respected sections.Īlways run the wizard after making changes to orifice / penetrator placement, including scaling and re-parenting. Make sure the blue arrow points outwards from the orifice Create an orifice by placing an empty gameobject where you want it. Enable TPS on the material of your penetrators.Drag prefabs from the wizard onto your avatar.The 1st step of any tps setup is adding penetrators and orifices to your avatar. Pivot Mode: If your pivot mode is not set to pivot point the placement of the unity tools will not represent where the origin of your penetrator is.Scene Lighting: If your lighting is turned off in scene mode you will not see the penetrator move.This section only shows up if your unity setup has configuration issues that will prevent you from being able to correctly place tps objects or see the penetrator deformation. In general, the Wizard is organized in multiple steps that you should go through in numerical order.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |