Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Something like the nanosuit...

$
0
0
Hello everybody! Who needs a code for something like the nanosuit in crysis? :?:

I've modified the "ridgidbody first person controller" script a bit, so that you can run while pressing shift or sprint and jump about 4 metres heigh when pressing ctrl. But if the suits energy is empty, you must wait until it's reloaded, etc...

I hope you can use it somewhere! :)


Code (csharp):
  1. var speed = 10.0;
  2. var gravity = 10.0;
  3. var maxVelocityChange = 10.0;
  4. var canJump = true;
  5. var jumpHeight = 2.0;...
Something like the nanosuit...

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>