RigsOfRods / rigs-of-rods

Main development repository for Rigs of Rods soft-body physics simulator
https://www.rigsofrods.org
GNU General Public License v3.0
995 stars 175 forks source link

Added support for actor scripts (use section 'scripts' in truck file) #3001

Closed ohlidalp closed 1 year ago

ohlidalp commented 1 year ago

The scripts work the same as terrain/custom scripts but they have an extra global variable thisActor pointing to the associated actor.

obrazek

obrazek

Elementary test vehicle: dafsemi-scripttest.zip