How do I Rotate a car without altering Speed

Get help using Construct 2

Post » Sun Jan 24, 2016 1:23 am

Hi all, this should be pretty simple but i seem to be having trouble.

Is it possible to have it so that a sprite with the car behaviour can pivot on the spot when steering left or right after having accelerate?

For example if you hit the up arrow and start moving forwards when you let go of the up arrow (and drift forward) if you hit the left or right arrow you pivot on the spot while maintaining the direction/speed of travel from moving foward?

Thanks
B
17
S
6
G
2
Posts: 40
Reputation: 1,731

Post » Sun Jan 24, 2016 1:45 am

Never mind, figured it out.. Now i feel dumb for wasting hours and your time.

Created a second blank sprite be the car and had the image sprite attached to it doing the rotating then having them both line up when resuming pressing up.

Funny how you get it right after you post it
B
17
S
6
G
2
Posts: 40
Reputation: 1,731

Post » Sun Jan 24, 2016 1:46 am

I'm not sure what you mean?
Seems like you don't want the car behaviour, because cars don't behave like that..

If you are talking like asteroid-type-spaceship-movement This tutorial might help..

[edit] Glad you figured it out![/edit]
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sun Jan 24, 2016 1:51 am

Ah that tutorial is great! Thanks
B
17
S
6
G
2
Posts: 40
Reputation: 1,731


Return to How do I....?

Who is online

Users browsing this forum: Fenix18, kiko2015 and 9 guests