my jumping code is dead, i hab¿ve a simple 1002 error of semicolon, but y putted it a 100 times and the error doesnt dissappear, help,my jumping script doesnt work help?
void FixedUpdate(){ //aqui estas tratando de saltar if(canJump){ canJump = false; rb.AddForce(0, jumpingForce * Time.deltaTime, 0); } }
void Update() { Public void Form1_KeyDown(object sender, KeyEventArgs e) { if (e.Key == Key.Space) { canJump = true; } }
} } } },im making a character controller script and the jumping part doesnt work, here's the script
void FixedUpdate(){ //aqui estas tratandi de saltar if(canJump){ canJump = false; rb.AddForce(0, jumpingForce * Time.deltaTime, 0); } }
void Update() { Public void Form1_KeyDown(object sender, KeyEventArgs e) { if (e.Key == Key.Space) { canJump = true; } }
} } } }
Your answer
Follow this Question
Related Questions
First person shooter : Leaning! 2 Answers
Implementing an animation command in a commands queue system 1 Answer
example of new way to load levels 1 Answer
"The associated script cannot be loaded" 0 Answers
Global Illumination at Runtime 0 Answers