Forum rules - please read before posting.

[BUG] ActionAnimChar does not support custom AnimationEngine

Hello,

I'm trying to build my own animation engine, but it seems that I cannot control it through the Action "Character -> Animate".

I believe the problem lies in ActionCharAnim#ResetAnimationEngine method, which does not handle the case in which the input parameter animationEngine equals AnimationEngine.Custom. In that case, I think that the local string variable classname should be set to animChar.customAnimationClass. I didn't investigate whether this is the optimal way to retrieve such information.

Here are the previous steps that I made:
  • Created my custom Animation Engine "AnimEngine_FooBar" as subclass of AnimEngine
  • Created a GameObject with the script Player attached, set "Script Name" to "AnimEngine_FooBar" and added it into the Resources folder
  • Created an Interaction and added an Action of type Character -> Animate. What happens is that the following warning appears in the Action details: "This Action requires a Character before more options will show"


Thank you,

Alberto

Comments

  • Thank you, clear steps and details - I'll go over this and correct this should this be the case.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.