Question by 
               yair1321 · Oct 21, 2018 at 03:21 PM · 
                transform.positionlocalscalevector3.lerpyx  
              
 
              My transform.localScale = Vector3.Lerp isnt working.
My code is this: transform.position = Vector3.MoveTowards(transform.position, Vector3.zero, Time.deltaTime * 3f); Vector3 scale = new Vector3(3, 3, 0); transform.localScale = Vector3.Lerp(scale, Vector3.zero, Time.deltaTime); I want the movement and the scale to sync such as when the ball reaches to (0,0) the scale will be like that too, but I dont want to put in the lerp transform.position becuase it ruins the x and the y of the scale. the: Vector3 scale = new Vector3(3, 3, 0); transform.localScale = Vector3.Lerp(scale, Vector3.zero, Time.deltaTime); Dont seem to work on my code. Why? Thanks!
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                