Message 1 of 4
Setting animation keys to linear pymxs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
i'm creating an animation in code with pymxs:
with pymxs.animate(True):
with pymxs.attime(0):
objGrp.rotation = rt.eulerToQuat(rt.eulerAngles(0,0,0))
objGrp.pos = pos
with pymxs.attime(self.animTime/3):
objGrp.rotation = rt.eulerToQuat(rt.eulerAngles(0,0,120))
objGrp.pos = pos
with pymxs.attime(self.animTime*2/3):
objGrp.rotation = rt.eulerToQuat(rt.eulerAngles(0,0,240))
objGrp.pos = pos
with pymxs.attime(self.animTime):
objGrp.rotation = rt.eulerToQuat(rt.eulerAngles(0,0,360))
objGrp.pos = posThis works fine! But i need my animation key tangents to be linear and not smoothed (which they are by default) and i can't for the life of me find the way to do this due to the absolute absence of documentation for the API.
I'd appreciate help toward achieving this, thank you 🙂