-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into offset-and-tiling
- Loading branch information
Showing
70 changed files
with
1,500 additions
and
843 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
--- | ||
date: 2025-01-02 | ||
title: Custom Items | ||
description: Create your own custom items to reuse on any of your scenes. | ||
categories: | ||
- scene-editor | ||
type: Document | ||
url: /creator/editor/custom-items | ||
weight: 8 | ||
--- | ||
|
||
Define a Custom Item to reuse it easily on any of your scenes, or share it with other scene creators. Custom items can consist of a single entity, or as many entities as you want. Custom items can be variations of existing Smart Items, or entirely custom, with their own tailored models and functionality. | ||
|
||
{{< youtube 7cGLu8P7dso >}} | ||
|
||
|
||
## How to Define a Custom Item | ||
|
||
Right-click on an entity on the [Entity Tree]({{< ref "/content/creator/scene-editor/scene-editor-essentials.md#the-entity-tree" >}}), or select several entities and then right-click on them. Select **Create Custom Item**. | ||
|
||
<img src="/images/editor/create-custom-item.png" width="300"/> | ||
|
||
On the lower section of the screen you are then asked to give your new Custom Item a name. | ||
|
||
<img src="/images/editor/name-custom-item.png" width="300"/> | ||
|
||
The item is now listed on the **Custom Items** tab, at the bottom of your screen. This tab is only displayed if at least one Custom Item exists in your workspace. | ||
|
||
<img src="/images/editor/custom-items.png" width="300"/> | ||
|
||
When defining a custom item, you can select several entities at a same hierarchical level, but not entities from separate parents if they don't share a common ancestor. Any nested entities are automatically included as part of the custom item, they don't need to be selected. | ||
|
||
The original entities in your scene aren't affected by the action of defining a Custom Item. | ||
|
||
{{< hint warning >}} | ||
**📔 Note**: | ||
When defining a Custom Item, you take a snapshot of the state of every component on the selected entities (except for the root entity's position, rotation, and scale). This includes **Actions**, **Triggers**, **Multiplayer**, **Visibility**, and any other component. | ||
|
||
Any smart item actions and triggers will self-reference their own copy. For example, if you define a Custom Item that includes an elevator and buttons, the buttons on each copy of the elevator will control the copy of the elevator that they belong to, not the original copy of the elevator. | ||
{{< /hint >}} | ||
|
||
## Using Custom Items | ||
|
||
Simply drag the item from the **Custom Items** tab into your scene. | ||
|
||
Once added, you're free to alter any property of a Custom Item, the changes you make only affect _that copy_ of the Custom Item. You can also edit or delete the original items that the Custom Item was defined from, this won't affect existing or future copies. | ||
|
||
Notice that Custom Items are displayed with a different icon on the Entity Tree. At the top of the Item properties menu on the right, you'll also see a mention of which Custom Item they were created from. | ||
|
||
To delete a custom item, right-click on the item on the **Custom Items** menu and select **Delete**. This action doesn't affect any existing copies of the item on your scenes, orphaned Custom Items remain on your scene unchanged. Deleting a Custom Item definition only removes it from the Custom Items tab. | ||
|
||
To rename a Custom Item, right click on the Custom Item definition on the **Custom Items** tab and select **Rename**. | ||
|
||
You can't modify the definition of a Custom Item that's already created, you must create a new definition and delete the original. | ||
|
||
## Sharing Custom Items | ||
|
||
You can share your custom items with other creators, so they can use them on their own scenes. | ||
|
||
Custom Items are stored each on a separate folder on your local machine | ||
|
||
- In Windows: _User/AppData/Roaming/creator-hub/Custom Items_ | ||
- In Mac: _Users/username/Library/Application Support/creator-hub/Custom Items_ | ||
|
||
{{< hint warning >}} | ||
**📔 Note**: | ||
The _Library_ folder is hidden in Mac by default. The easiest way to access it is by opening Go > Go to Folder, and Typing _/Library_ | ||
{{< /hint >}} | ||
|
||
To share with someone else, simply navigate with your file explorer of choice and copy the full folder for the item. The person using your Custom Item must then paste it on their own Custom Item path on their machine. This folder contains everything needed to use your Custom Item. If they can't see it in their **Custom Items** tab, users may need to close and re-open the project. | ||
|
||
Any **Assets** used by your Custom Item are also stored in the Custom Item's folder. This includes any 3D models, images, sounds, and videos referenced by the item. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.