Skip to content

Instantly share code, notes, and snippets.

@wmbest2
Created April 22, 2010 03:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wmbest2/374769 to your computer and use it in GitHub Desktop.
Save wmbest2/374769 to your computer and use it in GitHub Desktop.
from direct.showbase.ShowBase import ShowBase
class MyApp(ShowBase):
def __init__(self):
ShowBase.__init__(self)
environ = loader.loadModel("models/crash/crash_crude")
environ.reparentTo(self.render)
environ.setScale(0.25, 0.25, 0.25)
environ.setPos(0, 5, 0)
app = MyApp()
app.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment