Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Different surfaces?
04-21-2009, 03:22 PM,
#23
 
I added in a default value so that if the track contains less than 17 parameters the run-off areas set themselves to the grass setting. I also added a couple more surface variations:

3 - Concrete
4 - Sand

(Names for settings are on their way honest! Wink )

I'm having no luck finding different sounds for those, so I made it so that the sounds that are already used are tweaked to sound different on those surfaces.

I started to try and figure out a way to get the surface to be read when you are on the bezier patches, which raised a small problem. The wheel collision checks to see if you hit a bezier patch first and then skips the rest of the routine if you have. This means that it doesn't check against the map objects, which is where the surface setting is stored!

The first thought I had was to just store the bezier collision data and continue on to the map object collision. But the bezier patches are there to smooth out the polygons, so I guess it must be possible to hit a bezier patch but not a map object? Which would be sure to cause some problems further down the line! Is there some simple way to ensure that you get a map object collision?

The whole thing confused me, so I decided to do something else in the meantime. That was adding a rear view button. It started off simple then got a little complicated because the car was catching up with the chase camera. I managed to disable that though and set up some sensible defaults, which proved to be a good distraction. Smile
Reply


Messages In This Thread
Different surfaces? - by slowDan - 04-02-2009, 05:25 PM
Re: Different surfaces? - by slowDan - 04-05-2009, 12:11 PM
[No subject] - by joevenzon_phpbb2_import3 - 04-05-2009, 05:04 PM
[No subject] - by slowDan - 04-07-2009, 02:38 PM
[No subject] - by joevenzon_phpbb2_import3 - 04-07-2009, 07:56 PM
[No subject] - by alex25 - 04-07-2009, 09:39 PM
[No subject] - by joevenzon_phpbb2_import3 - 04-08-2009, 10:10 AM
[No subject] - by alex25 - 04-08-2009, 10:28 AM
[No subject] - by FFuser - 04-09-2009, 11:43 AM
[No subject] - by slowDan - 04-09-2009, 12:14 PM
[No subject] - by alex25 - 04-09-2009, 12:49 PM
[No subject] - by FFuser - 04-09-2009, 06:35 PM
[No subject] - by joevenzon_phpbb2_import3 - 04-09-2009, 10:34 PM
[No subject] - by FFuser - 04-10-2009, 08:47 AM
[No subject] - by alex25 - 04-10-2009, 04:41 PM
[No subject] - by slowDan - 04-11-2009, 03:40 PM
[No subject] - by slowDan - 04-13-2009, 01:23 PM
[No subject] - by alex25 - 04-13-2009, 05:33 PM
[No subject] - by joevenzon_phpbb2_import3 - 04-13-2009, 10:23 PM
[No subject] - by slowDan - 04-14-2009, 03:17 AM
[No subject] - by joevenzon_phpbb2_import3 - 04-19-2009, 06:15 PM
[No subject] - by slowDan - 04-21-2009, 03:22 PM
[No subject] - by joevenzon_phpbb2_import3 - 04-21-2009, 11:56 PM
[No subject] - by joevenzon_phpbb2_import3 - 04-22-2009, 12:24 AM
[No subject] - by slowDan - 04-22-2009, 01:24 PM
[No subject] - by joevenzon_phpbb2_import3 - 04-22-2009, 08:02 PM
[No subject] - by slowDan - 05-16-2009, 04:48 AM
[No subject] - by joevenzon_phpbb2_import3 - 05-17-2009, 11:37 AM
[No subject] - by alex25 - 05-17-2009, 12:59 PM
[No subject] - by joevenzon_phpbb2_import3 - 05-18-2009, 10:16 AM
[No subject] - by slowDan - 05-31-2009, 01:20 PM
[No subject] - by joevenzon_phpbb2_import3 - 05-31-2009, 02:25 PM
[No subject] - by alex25 - 05-31-2009, 05:46 PM
[No subject] - by alex25 - 05-31-2009, 07:44 PM
[No subject] - by slowDan - 06-01-2009, 12:53 PM
[No subject] - by joevenzon_phpbb2_import3 - 06-01-2009, 06:50 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)