I am making a game with a simple car driving, what i want is so when the car drives over the MC(grass) it will slow down to speed =2. The problem is, depending on which side its entering, it will either go in reverse or go faster. Say its speed -= 2 and it enters from the front, it will just bounce off, but if i enter from the back, it will speed up. Is there any way just to slow down the speed when on the grass? and another problem is that i need it to ignore the bound box of the grass. I will post the code later.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Car and hittest
|
0 | 36 | May 16, 2005 | |
Cargame hitTest problem!
|
0 | 31 | October 30, 2004 | |
Hittest problem-how to ignore the bound box
|
0 | 100 | May 15, 2005 | |
Hittest problem-how to ignore the bound box
|
0 | 88 | May 15, 2005 | |
Racing Game hitTestObject problem | 0 | 56 | September 21, 2008 |