Applying Scripts to objects

From MaratisWiki
Revision as of 00:35, 9 January 2013 by Vegas (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • Once in Maratis editor, click on "Add Mesh"

addmesh.png


  • Select your object, then name it like want (here i kept the default)

rename.png


  • Now create a new text file in your project/scripts folder, name it like you want, ex : new.lua

I quickly edited the file for the example, this script will rotate the mesh on the X axis

script.png


  • Click on the Scene button and locate your script :

scene.png

scriptselect.png

scriptok.png


  • Done !
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox