User Tools

Site Tools



Components are small modules used to define the behavior of any game object. Game objects can have any number of components, but can have only one of each type.

See the list of all available components. You can also define your own custom components.

Components can be added to any FBX node with the mod:registerPrefabComponent function.

mod:registerPrefabComponent("models/MithrilFactory.fbx/Prefab/MithrilFactory/ExtensionB/RootPart", {
	Size = {8, 8}

See mod Example 02 for more examples.

components.txt · Last modified: 2020/07/08 10:21 by maxime

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki