Put a rigidbody component on your wrist, put angular Drag on 0, disable gravity, turn on all the constraints.
Put the shot prefab in front of the muzzle and rotate it so the particles shoot out the right way.
Add a fixed joined component to the shot prefab and put angular Drag on 0, disable gravity.
Drag in the wrist into the fixed joint component.
Make a gesture override for taking out the gun and shooting the gun just make sure you turn on/off the Sniper Shot gameobject for the shooting animation otherwise the position fo the cube breaks!
theres a issue with a shader. im getting this error message Could not create a custom UI for the shader 'Wigo/Emission'. The shader has the following: 'CustomEditor = ASEMaterialInspector'. Does the custom editor specified include its namespace? And does the class either derive from ShaderGUI or MaterialEditor?UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) Any help?
Comments
Instructions are unclear on the last part. Where or what is the gameobject?
1theres a issue with a shader. im getting this error message Could not create a custom UI for the shader 'Wigo/Emission'. The shader has the following: 'CustomEditor = ASEMaterialInspector'. Does the custom editor specified include its namespace? And does the class either derive from ShaderGUI or MaterialEditor?UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
1Any help?