Hi there,
I’ve read a lot about the physics engine prior to starting my next project but I’m curious to know if there is a better (and simpler) way of achieving what I need.
This is for a simple top down car racing style game and I’d like to be able to hit test between the car and the track.
In Flash, I would have just created a vector graphic of my track and used Flash’s built in hit testing to check if the car was touching any part of that vector shape, slowing it down if it was off the track.
Am I better pushing down the physics path with Corona to achieve this by creating a bunch of irregular polygons and checking if car is still touching them? Or is this overkill and there is in fact some much simpler method that I’m missing…? Perhaps to do with alpha values of pixels within a “track” PNG graphic or something?
I want to be able to create fairly irregular shaped tracks, with islands etc. in the middle of roads. I’ll be using tiles to achieve the size of track I want.
Thanks in advance for any help.
Ian