Inside3D tutorials.
Created By: | Malcolm Lim |
eMail: | mlbl@botepidemic.com |
Difficulty Scale: | Easy |
if ( ((self.movedir_x < 0.100) && (self.movedir_y < 0.100)) ) { other.velocity_x = ((other.velocity_x + (80.000 * random ())) - 40.000); other.velocity_y = ((other.velocity_y + (80.000 * random ())) - 40.000); }Change this into :
if ( ((self.movedir_x < 0.100) && (self.movedir_y < 0.100)) ) { other.flags = other.flags - (other.flags & FL_ONGROUND); other.velocity_x = ((other.velocity_x + (80.000 * random ())) - 40.000); other.velocity_y = ((other.velocity_y + (80.000 * random ())) - 40.000); }There you have it ! The reaper bot now can go on wind tunnels.