Previewing My Art - Basic Code Want to preview some of your art without having to involve your scripter? Here are the most common commands you will want to use. To run them, after exporting your art, open the Wild Pockets builder, bring up the Debug Console, type them into the text window at the bottom, and press "Execute." To drop a model named "yourname/yourmodel" into the scene, at position (0,0,0), type:
myObject = SceneManager.createObject("yourname/yourmodel",vec(0,0,0))If your model keeps falling through the floor, because you did not apply any collision, you can bring it back to (0,0,0) and freeze it by then typing:
myObject:setAnchored(true)
myObject:setPosition(0,0,0)
To test an animation named "yourname/youranim" on that model, type:
myMove = Animation.load("yourname/youranim")
myObject:playAnimation(myMove)This will play the animation once. To loop that animation, type:
myObject:playAnimation(myMove,{loop=true})Download the Art Exporters Use the Art Exporters to take your models from Maya and 3ds Max into Wild Pockets Connect With Programmers Find programmers to work with in the Collaboration Wanted forum Artist FAQ Read the Artist-specific Frequently Asked Questions Tutorial Videos View the Art Tutorials section to learn how to use the Maya and 3DS Max exporters Additional Art Tools Links to useful free art tools on the net



