- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey everyone,
I'm trying to create a menu in python to control the turn table I made. I made the turn table in the curve editor then created a block and put into a clip "Jeep TT Master". I've got the play, pause/stop, and reset functions working. However, I can't seem to locate any information/naming conventions to continue the animation from where it's stopped. I've tried the continueAnimation, CAnimation options... is there an option under the same naming convention as the playAnim, stopAnim, resetAnim to continue the animation?
Thanks!
Clay
this is what I have so far: the blue text is what I'm having trouble with..
###########################################################################################
def startAnimation():
playAnim("Jeep TT Master")
menuAnimation2 = vrMenu(1.25, 10, 7)
menuAnimation2.setPosition2D(800, 0)
menuAnimation2.addPushButton("Play", "playAnim('Jeep TT Master')")
menuAnimation2.setAlpha(1)
menuAnimation2.show()
def pauseAnimation():
stopAnim("Jeep TT Master")
menuAnimation3 = vrMenu(1.25, 10, 7)
menuAnimation3.setPosition2D(1000, 0)
menuAnimation3.addPushButton("Pause", "stopAnim('Jeep TT Master')")
menuAnimation3.setAlpha(1)
menuAnimation3.show()
def resumeAnimation():
startAnim("Jeep TT Master")
menuAnimation5 = vrMenu(1.25, 10, 7)
menuAnimation5.setPosition2D(1150, 0)
menuAnimation5.addPushButton("Continue", "startAnim('Jeep TT Master')")
menuAnimation5.setAlpha(1)
menuAnimation5.show()
def resetAnimation():
resetAnim("Jeep TT Master")
menuAnimation4 = vrMenu(1.25, 10, 7)
menuAnimation4.setPosition2D(1300, 0)
menuAnimation4.addPushButton("Reset", "resetAnim('Jeep TT Master')")
menuAnimation4.setAlpha(1)
menuAnimation4.show()
############################################################################################
Solved! Go to Solution.