Dark Physics Mesh Saver by Tinyschu13th Aug 2007 3:20
|
---|
Summary *** This code requires Dark Physics to run *** It is a little mesh saver that takes your object and saves it into a mesh text file for your game's physics. Pretty easy to code, but Description Code ` This code was downloaded from The Game Creators ` It is reproduced here with full permission ` http://www.thegamecreators.com Sync On : Sync Rate 60 phy start `Load Map `Loads Your Object You want load object "YOUR OBJECT GOES HERE",1 `Gives your object Collisions phy make rigid body static mesh 1,"YOUR OUTPUT TEXT FILE GOES HERE" do set cursor 0,0 print "DONE!" phy update sync loop |