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

portal activates fall damage

$
0
0
if anyone can help me with the most effiecent way to make it so my portal doesnt activate fall damage (i was thinking adding a "no-fall damage" tag to it) it would be appreciated as i haven't a clue on how to fix it, rigid controller script attached

Code (csharp):
  1.  
  2. varcrouchSpeed = 2.0;
  3. varwalkSpeed = 8.0;
  4. varrunSpeed = 10.0;
  5.  
  6. varfallDamageMultiplier : int = 2;
  7. varfallAnimGO : GameObject;
  8. varinAirControl = 0.1;
  9. vargravity = 25.0;
  10. varNormalGravity:float;
  11. varmaxVelocityChange = 10.0;
  12. varcanJump = true;...
portal activates fall damage

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



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