Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / DBC Two Different Tread Mark Examples

Author
Message
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 15th Oct 2006 02:10 Edited at: 17th Oct 2006 21:49
Here's a couple of simple tread mark ideas. Nothing fancy, but with a little adaptation, lighting effects, and fading, they can be effective. The same technique can be used for footprints.

Snippet 1 - Disappearing treads



Snippet 2 - Continuous treads



With snippet 2, you'll need to limit the production of additional tread objects at some value, and fade out and delete the ones already created.

Enjoy your day.
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 15th Oct 2006 02:16
Nice one, works ok in DBPro.

Dark Physics makes any hot drink go cold.
lower logic
18
Years of Service
User Offline
Joined: 15th Jun 2006
Location:
Posted: 17th Oct 2006 19:08
Cool, nice simple code for a good effect.
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 17th Oct 2006 21:55
@HowDo & lower logic

Thank you.

In snippet 2, I updated the code and added a conditional that stops producing tread objects when the vehicle isn't moving. Without the conditional, it was making more and more tread objects even if they weren't being seen.

Enjoy your day.

Login to post a reply

Server time is: 2024-11-22 23:18:44
Your offset time is: 2024-11-22 23:18:44