File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,6 @@ private void ShootElement()
35
35
{
36
36
ParticleSys . transform . SetPositionAndRotation ( GetMedianControllerPosition ( ) , GetMedianControllerQuaternion ( ) ) ;
37
37
ParticleSys . Play ( ) ;
38
- //ParticleSys.GetComponent<Rigidbody>().velocity = ShootVelocityMultiplier * GetMedianControllerForwardDirection();
39
- }
40
-
41
-
42
- // Update is called once per frame
43
- void Update ( )
44
- {
45
- //Vector3 vec = Vector3.Lerp(ControllerLeft.transform.position, ControllerRight.transform.position, 0.5f);
46
- //Sphere.transform.position = vec;
47
38
}
48
39
49
40
private Vector3 GetMedianControllerPosition ( )
@@ -55,10 +46,4 @@ private Quaternion GetMedianControllerQuaternion()
55
46
{
56
47
return Quaternion . Lerp ( ControllerLeft . transform . rotation , ControllerRight . transform . rotation , 0.5f ) ;
57
48
}
58
-
59
- private Vector3 GetMedianControllerForwardDirection ( )
60
- {
61
- return Vector3 . Lerp ( ControllerLeft . transform . forward , ControllerRight . transform . forward , 0.5f ) ;
62
- }
63
-
64
49
}
You can’t perform that action at this time.
0 commit comments