Shaking Tank

Game Editor comments and discussion.

Shaking Tank

Postby frodo » Sat Apr 01, 2006 1:17 am

I have a tank that is on the ground, and it has to go toward the mouse on X. I did this by having a invisible actor down on the ground, and the tank goes towards the invisible actor. It works great, but when my tank gets on the same spot as the invisible actor, it starts shaking like a wet dog.
Can anyone help?
User avatar
frodo
 
Posts: 127
Joined: Tue Mar 21, 2006 6:53 pm
Location: universe
Score: 2 Give a positive score

Postby Troodon » Sat Apr 01, 2006 7:39 am

Yes.
Collision->any side of invisible actor->script editor:
Code: Select all
yvelocity = 0;
xvelocity = 0;
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Postby frodo » Sun Apr 02, 2006 5:54 pm

Perfect!
User avatar
frodo
 
Posts: 127
Joined: Tue Mar 21, 2006 6:53 pm
Location: universe
Score: 2 Give a positive score

Postby Troodon » Mon Apr 03, 2006 5:45 am

:D
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest