Page MenuHomeFeedback Tracker

Animation keyframes not working
New, NormalPublic

Description

Since October maybe, the keyframes have stopped working, before with just putting the variable name of the object it let you use the tracking option, now not even filling the eden id works, even removing the look/animation option the camera does not follow the path marked by the rich curve.

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 11 x64
Category
General
Steps To Reproduce

simply use this composition, everything is ready to use.

https://steamcommunity.com/sharedfiles/filedetails/?id=3091666542&searchtext=camera

I have also recorded a video of how I test several things

https://youtu.be/ZNsTY6HBTvw

Additional Information

Event Timeline

tigre437 created this task.Jan 23 2025, 1:04 PM

Me ha pedido Dedmen que agregue un pbo en cual se pueda replicar el problema, ademas de eso os envio una captura del error que sale simplemente seleccionando el modulo de curva rica, el de la linea de tiempo o el de el punto de clave de llave rica el que tiene un simbolo de llave.

dedmen added a subscriber: dedmen.EditedMon, Mar 10, 2:15 PM

When I asked for repro I did not expect a 6mb mission.sqm with tons of missing mods.

simply use this composition, everything is ready to use.

I place the composition, get script error (same as you've shown in last screenshot), start the mission and.. the camera animation seems to work fine.

The script error,

getPosASLVisual (get3DENEntity (_lookAt select 0)); :
_lookAt select 0 -> -1
get3DENEntity -1 -> -1
getPosASLVisual -1 -> error

_lookAt = call compile ((_curve get3DENAttribute "LookAt") select 0);

_curve get3DENAttribute "LookAt" ->"[-1,man1]"
there's the -1

And indeed, if we open the Curve_F
Where there is supposed to be the eden id of the object, there is -1

If we get the real ID get3DENEntityID (get3DENSelected "object" select 0)
and plug it in.
Then the errors go away, and the animation preview is rendered inside Eden, and everything seems to work fine.

The text in the composition says for look at you NEED to use -1.
But as far as I can see, that is simply wrong.
I just looked up a keyframe animations tutorial from 4 years ago. He says the Eden ID is required, and shows exactly the same script as I posted above to get the ID. The ID is required, and it always has been.

I looked up the relevant script code, it was not edited since 2017.

From what I can see, it's just incorrect usage and everything is still working just fine, if used correctly.

I watched the video you provided, and while I can see what's going wrong in your video. I cannot reproduce it.
If I use the wrong entity ID, the camera movement still works just fine when I start the mission.
If I use the correct entity ID, the preview in editor also works.