Skip to content

Instantly share code, notes, and snippets.

@wmbest2
Created Apr 22, 2010
Embed
What would you like to do?
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