我有我基於關閉教程的編寫一個程序:Panda3D的模型旋轉
from direct.showbase.ShowBase import ShowBase
class MyApp(ShowBase):
def __init__(self):
ShowBase.__init__(self)
# Load the environment model.
self.environ = self.loader.loadModel("models/misc/rgbCube")
# Reparent the model to render.
self.environ.reparentTo(self.render)
# Apply scale and position transforms on the model.
self.environ.setScale(10, 10, 10)
self.environ.setPos(-8, 42, 0)
app = MyApp()
app.run()
我想是這樣的:
self.environ.rotate(軸旋轉時,在腐度)
我已經在谷歌上進行了大量的搜索,唯一能看到的就是這樣:http://www.panda3d.org/manual/index.php/Position,_Rotation_and_Scale_Intervals 猜猜看!它沒有。你能指點我一個網站,深入解釋Hpr,或者只是在這裏解釋一下嗎?謝謝。