HeroEngine Forums
Welcome, Guest. Please login or Register for HeroCloud Account.

Author Topic: [Fixed in upcoming release] Stateful animation sequence not working correctly  (Read 3194 times)

MsSarrene

  • General Accounts
  • *
  • Posts: 107
    • View Profile
    • Triad Game Studios, LLC.

States System:
Since the Quartz update we have had some issues with the stateful objects. The animation sequence for them does not follow what we put into the Action List -> Transform Interval. If it is left to 0, the asset will move to the designated offset position. However, if we put any amount of time for the transform, it distorts the animation causing the asset to reverse the animation, then go into the correct movement.
Please Note: This animation/state issue was not a problem prior to the update. All of our doors and such were working correctly and as expected. So this is something new that has started.
This happens no matter the physics type selected; static, dynamic, kinematic, no_physics

Script Error:
In addition to this, there is now an error that occurs when you use a static asset with a state attached to it.
!ERROR!SCRIPT:[_StateActionTransformClassMethods]:_StateActionTransformClassMethods is requesting the transform of the HBNode(9223372207678801874) but its PhysicsType is neither DYNAMIC nor NO_PHYSICS.  This will result in a performance hit.

Right Click State Editor:
Also, the right click states editor for an asset has not worked in months. To change the state of an object, we have to go through the f5 menu-> Area States Editor.

Here is  a video of the issue with the doors: https://www.youtube.com/watch?v=dXUgEwyg9Dk&feature=youtu.be

Thank you kindly,
Sarrene'
« Last Edit: May 20, 14, 09:46:05 AM by HE-SCOTT »
Logged

Jrome90

  • General Accounts
  • *
  • Posts: 330
    • View Profile
Re: Stateful animation sequence not working correctly
« Reply #1 on: May 14, 14, 12:26:55 AM »

I have a similar issue using the stateful door that comes with the Clean Engine.
Logged

Jrome90

  • General Accounts
  • *
  • Posts: 330
    • View Profile


Right Click State Editor:
Also, the right click states editor for an asset has not worked in months. To change the state of an object, we have to go through the f5 menu-> Area States Editor.

Posted a fix:
https://community.heroengine.com/forums/index.php/topic,5422.msg30507.html#msg30507
Logged

HE-SCOTT

  • HeroEngine
  • *****
  • Posts: 158
    • View Profile

The issue with the right click menu and the door animation have been fixed and will go out with a future update.

Since the door animation it is purely a script change you can fix it before we update by making the following change:
In the client script '_Transform3DClassMethods' After line 44 put in the following line 'me._trTimer.SetTimeSource("LOCAL")' This corrects the issue where the timer is not using the correct time for the transform.
« Last Edit: May 20, 14, 01:25:31 PM by HE-SCOTT »
Logged

Jrome90

  • General Accounts
  • *
  • Posts: 330
    • View Profile

That fixed it!

Thanks, Scott
Logged