# More Car Behavior conditions request

Discussion and feedback on Construct 2

### » Fri Nov 28, 2014 1:27 pm

First, let me preface this by acknowledging I do not fully understand just how the Car behavior works. So this request may come across as odd...

Right now, we only have two event checks: Is Moving and Compare Speed. But these do not help me much regarding the other mechanics of the behavior. I namely want to check for the moment the behavior engaged from a normal turn into a drift and is in a drift.
So...
--> On Drift Begin
Is Drifting
Compare Current Drift
(again, I don't fully understand how the parameter works... Is this value constant or does the drift work up to this value while in a turn?)
...would all be exceptionally helpful event conditions.

Another couple of event checks that could be useful are
Is Accelerating
Is Decelerating

I realize there's a monumentally huge list of to-do tasks. So please know that I submit this just as a request. Thanks!
I'm seeking Narnia. Who wants to come with me! Aslan is on the move!
B
146
S
25
G
8
Posts: 798
Reputation: 15,438

### » Fri Nov 28, 2014 1:48 pm

The drift is just the difference between the moving angle and the object angle, which are both accessible via expressions. I'm not sure 'is accelerating'/'is decelerating' are useful conditions to add, I think they map pretty straightforwardly to the user's controls and should be part of the game's logic (i.e. 'is accelerating' is the same as when the player is holding the accelerate control, and 'is decelerating' is more or less the opposite).
Scirra Founder
B
408
S
242
G
92
Posts: 24,931
Reputation: 198,735

### » Fri Nov 28, 2014 11:41 pm

@Ashley - That makes sense.
So, when you say the difference between the object angle and the moving angle, if the object is facing 90*, the Drift Recovery is basically the rotation per second for the moving angle to equal the object angle at 90*? Correct?
I'm seeking Narnia. Who wants to come with me! Aslan is on the move!
B
146
S
25
G
8
Posts: 798
Reputation: 15,438

### » Sun Nov 30, 2014 11:48 am

Yes, that's right.
Scirra Founder
B
408
S
242
G
92
Posts: 24,931
Reputation: 198,735

### » Sun Nov 30, 2014 3:27 pm

@Ashley - AH! That makes sense! I think I can figure out how to isolate those values... We shall see anyway. LOL Thanks for your help.

(PS - Loved your podcast with the C2Podcast show. Thank you for making the time to do that. I'm looking forward to C3!!)
I'm seeking Narnia. Who wants to come with me! Aslan is on the move!
B
146
S
25
G
8
Posts: 798
Reputation: 15,438