You are a king among men..
Thanks..
-Emblazed
You are a king among men..
Thanks..
-Emblazed
Im Sorry Mitch but I don't follow. Can you give me more information.
Thx
I had tried that.. and after some tests and doing some stepping thru the Spine Runtime I found the problem.
When an animation is set it blends to its previous, . . so all I need to do is state.ClearTracks() before I set and lock down the time.
Here is the working code..
temp = Mathf.Min(Mathf.Max(fuel,0), 100);
float fProgress = (float)fuel / 100.0f;
m_FuelGauge.state.ClearTracks();
TrackEntry ti = m_FuelGauge.state.SetAnimation(0, "Fuel Gauge", false );
ti.Time = ti.EndTime * fProgress;
ti.TimeScale = 0.0f;
I get movement in the animation but it jumps around.. not holding at any progress location...
I am calling this to insure that its being set to the desired time every frame.
Thoughts?
void SetTemp( int temp ) // called every update call..
{
float fProgress = 0.5f; // For to 50% for testing.
TrackEntry ti = m_FuelGauge.state.SetAnimation(0, "Fuel Gauge", true ); // doesn't work if false/true
m_FuelGauge.state.GetCurrent(0).Time = m_FuelGauge.state.GetCurrent(0).EndTime * fProgress;
}
I have a animation of a fuel gauge.
I have it playing from full to empty over 100 frames of animation. Just a simple rotation.
In Unity I want set the gauge to a point given how much fuel you have. If I have 50% left then the gauge would be half way.
I have tried setting timeScale to zero and setting time to the frame I want.. but the animation is never updated to render the needle at that location.
Any advice or other things I could try?
Downloaded.. and all is well..
This resolves what at first i was seeing as a bug or difference between versions but after talking with that artists that key was set to 13.4 so all is goo.. Thanks for you time.
To run the latest version of Spine on OSX i had to run using Sudo to get it to fire up. And then place my activation code.
This did work and our company can get by for the time being..
Thanks
After updating to 1.8.10 my keys in Dope timeline are in the wrong spot.
Loading Image
The only way to select the location of this key is to click the event, scale etc. for the key.
Is this a known issue?
.. thanks
Was wondering if you have put any thought to having the spine project files being a text format rather then binary. It is rather hard to version control binary files as I'm sure you can understand.
I am aware that the project file in a text format may not be something that you could merge or even edit by hand but, it would still be nice to see changes from version to version.
Anyway I would like to hear your thoughts on the mater.
Keep up the good work..
"Wow nice.. I did not know that", said the artist.
"Thanks Nate this helps with our art pipeline", said the programmer.
Seems odd to me that you can't select a file name or enter a file name to export your animation.
Currently in our development exporting by giving a directory is a bit painful.
Any work arounds or could we add this to a feature request?
Emblazed
Thanks..
Im having trouble selecting an output directory when exporting on MAC OSX 10.8.5
Export / Export Directory / Browse
The Open button on the directory dialog never highlights letting me select the directory I want.