rigidbody.velocity = rigidbody.velocity + jumpPower;

Hi,

Can any of you wise coding fellows advise me about the error found in this code?

Assets/Scripts/MarbleControl.js(34,36): BCE0044: expecting :, found ‘=’.

CODE

{

rigidbody.velocity = rigidbody.velocity + jumpPower; //Line 44

canJump == false; //Line45

}

Thanks,
Ged

Hi, Many Thanks for you answer,