Coasters can have blender animations along the track.
- Installed Blender version >2.80
- Downloaded a copy of the jrides Blender export tool
tools/jrides_blender_export_anim_plugin.py
-
Create a Blender animations using object animations. (do not use rigging)
-
Name the animated object the same as your animation name, i.e.
main-animation
. -
Select the object and export the Blender animation using the custom jrides export tool. (check the
tools
folder on GitHub: https://github.com/JVerbruggen/jrides)tools/jrides_blender_export_anim_plugin.py
-
Name the file in the format of
<coaster_identifier>.<animation_name>.csv
, i.e.mycoaster.main_animation.csv
. -
Paste the file in the jrides folder
jrides/coasters/<coaster_identifier>/animations
. -
Create a trigger file in
jrides/coasters/<coaster_identifier>/triggers/<my-trigger.yml>
trigger: type: blender-animation location: [50.0, 10.0, 50.0] # [x, y, z] animationName: my-cool-animation # Animation identifier reuseEntity: my-coaster-my-cool-animation-entity # A unique identifier for an entity so that it can be used for multiple animations preloadAnim: true # Whether to load the first frame of the animation when loading the plugin item: # Item that is animated material: YELLOW_WOOL
-
Use the trigger in either effect triggers for certain sections (i.e. the station section), or in the track trigger file. See docs/triggers.md.
-
Your folder structure should now look something like this.
plugins/ ├─ jrides/ │ ├─ rides.yml │ ├─ coasters/ │ │ ├─ mycoaster/ │ │ │ ├─ mycoaster.coaster.yml │ │ │ ├─ mycoaster.default.trigger.yml │ │ │ ├─ animations/ │ │ │ │ ├─ mycoaster.main_animation.csv │ │ │ ├─ triggers/ │ │ │ │ ├─ my-trigger.yml
-
And you're done.