how to detect a 360 in a stunt car game?

Get help using Construct 2

Post » Mon Oct 06, 2014 9:44 am

Hi,

I am a bit stuck on how to detect a 360 in a stunt car game i am working on(forward and backward). My first thought was to make a variable "stuntAngle" for the car body and try to detect when the wheels are not colliding with the ground and then just count when it reaches 360 degreees.....I monkeyed with that for a day and couldn't get the "wheels not colliding" thing working...ANYWAY, just thought id throw this out there in case someone with a better brain might have some better ideas on how to approach this. Dont need any code, just some ideas on how to tackle this....

Off to work at job for money...will be thinking bout it all day! Send thoughts please.

:)
B
11
S
2
G
1
Posts: 40
Reputation: 1,750

Post » Wed Oct 08, 2014 2:10 pm

Can you send the file so i can try to figure it out?
B
8
S
1
Posts: 34
Reputation: 434

Post » Wed Oct 08, 2014 6:44 pm

Here's a way to see how far a object has rotated
how-do-i-count-rotations_p586151?#p586151
B
91
S
31
G
103
Posts: 5,235
Reputation: 67,756


Return to How do I....?

Who is online

Users browsing this forum: ezgaming420, marcinkowski, Tinimations, Tiradentes, Yahoo [Bot] and 2 guests