Cog Files


Animation/Key Reference

Animation control and Keyboard control reference.

As with the other verbs there are those that "Control" and those that process "Information"
GetKeyLen
GetMaterialCel
jkPlayPovKey
jkSetPovModel
jkStopPovKey
MaterialAnim
PlayKey
PlayMode
SetMaterialCel
SetMountWait
StopAnim
StopKey 


GetKeyLen() Info

Gets the Time to run a .Key file.

Use: Time = GetKeyLen(Keyfile); returns the flex time to run frame


GetMaterialCel() Info

Gets a reference to a material cel

Use: cell = GetMaterialCel(material); Returns int of the cel material is set to.


jkPlayPovKey()

?

?


jkSetPovModel()

?

?


jkStopPovKey()

?

?


MaterialAnim() Control

Animates a material.

Use: Anim = MaterialAnim(Material, FPS, 1); returns int


PlayKey() Control

Plays a key frame for a 3do.

Use: PlayKey(thing,keyframe,int,flags); unknown what the use of the int is ,usualy 1 or 2


PlayMode()

?

?


SetMaterialCel() Control

Sets a material cel.

Use: SetMaterialCel(material,int); Not sure of this ,it`s not used in cogs


SetMountWait()

Delays key frame play

Use: SetMountWait(thing,flex delay);


StopAnim() Control

Stops a playing animation.

Use: StopAnim(animation);


StopKey () Control

Stops a playing keyframe animation.

Use: StopKey(thing,keyframe,flex delay);