<aside> <img src="/icons/reorder_gray.svg" alt="/icons/reorder_gray.svg" width="40px" />

Navigation

</aside>

Home Page

Overview

Level Editor

Level Items

Rover Parts

Vehicle

Environment Skins

UI Store

Monetization (Ads & IAP)

How to add a new vehicle

  1. Select Can Rover prefab located in Game/Prefabs/Rover/Bodies

  2. Press Ctrl+D (Comand + D) to duplicate the prefab, name it as you wish.

  3. Double click to open the prefab

  4. You’ll find the body_soda_can_2x1 object as a child of the Body object you need to replace it with a new model.

    Drag the new model near the old one, adjust position, scale, and rotation so they have an approximately similar size. Delete the old model.

    Screenshot_11.png

  5. I’m going to use the plastic_cup model located at the project. You can leave battary_small object as additional visual detail or remove it.

  6. Select prefab origin object. Find Body Part Behaviour script in the inspector. Unfold Visuals Objects variable and drag all models you’ve just added.

    Screenshot_12.png

    You can add additional slots or remove empty ones using the + and - buttons. Make sure all visual objects are referenced.

  7. Adjust 4 Snap Point objects position if required.

    Screenshot_13.png

  8. Select the Body object and find the Polygon Collider 2D script. Press the Edit Collider button.

    Screenshot_14.png

  9. Adjust collider shape dragging points. Make sure to leave gaps for wheels. Like at an example:

    Screenshot_15.png

  10. Exit prefab mode.

  11. Duplicate Can Body asset that is located in the Data/Levels System/Rover Parts/Bodies folder. Name it accordingly.

  12. Drag newly created prefab into Part Object and Build Visuals fields.

    Screenshot_16.png

  13. Open Level Editor using the Tools - Level Editor menu.

  14. Select the Rover Parts tab.

  15. Find a field called rowerParts array size and increase its value by one

  16. You’ll see the additional element that appeared at the very bottom of the list below.

  17. Drag the newly created asset here.

    Screenshot_17.png

  18. Now you’ll be able to select a new body type while creating or editing levels

    Screenshot_18.png

    Screenshot_19.png