Hello people,
I’m beginning on Unity 5. When I try to building, appears this error. I fount on Internet help about it, but I don’t make sense.
I here the script if anyone see it:
Hello people,
I’m beginning on Unity 5. When I try to building, appears this error. I fount on Internet help about it, but I don’t make sense.
I here the script if anyone see it:
You’re adding force to a type of component rather than to the variable you defined for this type of component.
You wrote above : Rigidbody rb; when you declared your variables.
use rb.AddForce (auxi);