Question by 
               andrey9292 · May 19, 2016 at 07:01 PM · 
                c#errorcs0119  
              
 
              error CS0119 What's wrong? (I have old asset maybe it helps you)
     void Start () 
     {
         Rigidbody2D().angularVelocity = Random.Range(minTumble, maxTumble);          movement based on random speed values
         Rigidbody2D().velocity = -1 * transform.up * speed;                         
     }
 
               Whan's wrong? Error is "Rigidbody2D() ---HERE!--- .angularVelocity"
               Comment
              
 
               
              Answer by FortisVenaliter · May 19, 2016 at 07:06 PM
The problem is that Rigidbody2D is a class, but you're trying to use it as a function. Read up on those terms to learn the difference.
I use old asset so I fixed other problem but i cant fix this. Original code was:
 
                    
                   umes5ly.png 
                   (6.2 kB) 
                  
 
                 $$anonymous$$y answer still stands. You need to understand the code you're modifying, or you're just asking for frustration.
Your answer