'
' In this example, an FCurve is created on the ZRot param
' of a cone. Then, some keys are created (at frames 1, 15 and 30)
' which are then made continuous. (by removing an extra rotation
' of 360 degrees at frame 15)
'
NewScene
CreatePrim "Cone", "MeshSurface", "MyCone"
' Add keys at frames 1, 15 and 30
SaveKey "MyCone.kine.local.rotz", 1, 0
SaveKey "MyCone.kine.local.rotz", 15, 540
SaveKey "MyCone.kine.local.rotz", 30, 360
' Play the animation
PlayForwardsFromStart
' Make rotation keys continuous
MakeRotationsContinuous
' Play the animation
PlayForwardsFromStart |