====== Model ====== A model is one of the many code blocks that allows the user to import their own models, either custom made or from a website. [[http://www.gamemaker3d.com|The Cyberix3D engine]] currently supports .obj .awd, here are a few examples. ====== Default Models ====== ---- {{:editor:blocks:models:water_fall.png?300|}} {{:editor:blocks:models:vehicle.jpg?300|}} {{:editor:blocks:models:tree.png?300|}} {{:editor:blocks:models:teapot.png?300|}} {{:editor:blocks:models:santa.png?300|}} {{:editor:blocks:models:rock.png?300|}} {{:editor:blocks:models:plane.png?300|}} {{:editor:blocks:models:house.jpg?300|}} {{:editor:blocks:models:duck.jpg?300|}} {{:editor:blocks:models:character.jpg?300|}} ====== Custom Models ====== ---- {{:editor:blocks:models:batman1.png?300|}} {{:editor:blocks:models:bus.jpg?300|}} {{:editor:blocks:models:motor.jpg?300|}} {{:editor:blocks:models:police_car.jpg?300|}} {{:editor:blocks:models:superman1.png?300|}} {{:editor:blocks:models:untitled_2016-04-23.jpg?300|}} {{:editor:blocks:models:untitled_2016-04-27.jpg?300|}} {{:editor:blocks:models:untitled_2016-04-28.jpg?300|}} {{:editor:blocks:models:model.jpg?300|}} you can upload an animated model to cyberix with the help of [[tools:blender:|blender]], the only supported format to upload an animated model to cyberix are (md5 mesh and md5 anim). ====== Parameters ====== ---- * **Name** - This is the name of the object. You need to give an object a name when you want to use it later with different commands like Set, [[editor:blocks:condition:if-collision|If Collision]], etc... The Name must be unique with no spaces or special characters and could not start with numbers. * **Sub Model Number** - The separate meshes within the **Model**. * **Auto Center** - The **Model** center * **Secondary UV File** - The separate mesh that contains the other UV file * **Width** - The width of the object * **Height** - The height of the object * **Depth** - The depth of the object * **X** - The X location of the object * **Y** - The Y location of the object * **Z** - The Z location of the object * **X Axis** - The X axis of the object * **Y Axis** - The Y axis of the object * **Z Axis** - The Z axis of the object * **Texture** - The Texture of the object * **Texture Alpha** - The object's texture alpha. 0 for fully transparent and 1 for opaque * **Scale X** - The X scale of the object. 1 for normal scale * **Scale Y** - The Y scale of the object. 1 for normal scale * **Scale Z** - The Z scale of the object. 1 for normal scale * **Scale U** - The object's texture U scale. 1 for normal scale * **Scale V** - The object's texture V scale. 1 for normal scale * **Offset U** - The object's texture U offset * **Offset V** - The object's texture V offset * **Segments Width** - The object's geometry width segments number * **Segments Height** - The object's geometry height segments number * **Visible** - The object's visibility. 1 for visible. 0 for hidden * **Rotation X** - * **Rotation Y** - * **Rotation Z** - * **Local Rotation X** - * **Local Rotation Y** - * **Local Rotation Z** - * **Axis Collision** - * **Polygon Collision** - * **Collision** - * **Static** - * **Mass** - * **Friction** - * **Restitution** - * **Translate X** - * **Translate Y** - * **Translate Z** - * **Gravity X** - * **Gravity Y** - * **Gravity Z** - * **Linear Velocity X** - * **Linear Velocity Y** - * **Linear Velocity Z** - * **Angular Velocity X** - * **Angular Velocity Y** - * **Angular Velocity Z** - * **Play Animation** - The **Model's** animation * **[[editor:blocks:animation:|Animation]] Speed** - The Animation's Speed * **Jump** - The **Model** ability to jump * **Walk** - The **Model** ability to walk * **[[editor:blocks:light:|Effected By Lights]] (Texture)** - * **Shadow Type (Texture)** - * **Both Sides (Texture)** - * **Auto Both Sides (Texture)** - * **Casts Shadows** - {{ :editor:blocks:info-148099_960_720.png?20|}}//MORE INFORMATION// ---- {{indexmenu>editor:blocks:models:model#1}}