Page 1 of 1
Pharan
I used to be able to ghost at 0.5 frame step. Is that just not allowed anymore?
Spine-Unity Docs Repo, and check out the Unofficial Spine Users Tumblr.
7.5 years ago
-
Pharan - Posts: 5366
Søren
I know Nate was working a bit on the Ghosting about an hour ago, he had found a bug so maybe that's what he was referring to. Personally I don't remember it being possible, but my guess is that when I inserted the new sliders I set the minValue wrong
So be angry at me and shake your fist
we'll get it fixed quick 



7.5 years ago
-
Søren - Posts: 2434
Pharan
I suspected it had something to do with the new sliders.
I can never get angry at you Shiu.
lol
I can never get angry at you Shiu.

lol
Spine-Unity Docs Repo, and check out the Unofficial Spine Users Tumblr.
7.5 years ago
-
Pharan - Posts: 5366
Nate
Yeah the new sliders prevent entering a value that is invalid for the slider. Since the slider moves at increments of 1, you can't enter fractions. I didn't realize fractional steps were useful, but if they work and don't hurt I'll see if I can change the new slider.
7.5 years ago
-
Nate - Posts: 10503
Pharan
Well, they're useful to me as far as I can't set the animations to 60fps yet. I'd really rather not deal with fractions either, but it's the only way right now to detect and eliminate artifacts and stray movements that happen in between the 30 graduations of time per second.
Spine-Unity Docs Repo, and check out the Unofficial Spine Users Tumblr.
7.5 years ago
-
Pharan - Posts: 5366
Pharan
On a related note:
Decimal/fractional values in x-offset box is really important if the character's in-game horizontal speed is specifically balanced. In the absence of IK, the animation would have to be tweaked according to an x-offset calculated from that so the footing doesn't slide around.
The formula is something like:
x-offset (pixels/frame)
=
time-dependent character speed to be multiplied by deltaTime (pixels/second)
/
spine "framerate" (frames/second)
Actually, it would probably be neat feature if you could stick the deltaTime speed into the Ghosting panel itself and the x-offset ghosting could be automatically set from it. Dunno if I'd go so far as to request such a feature though. XD
Point is, sometimes, x-offset doesn't resolve to a nice round integer.
Decimal/fractional values in x-offset box is really important if the character's in-game horizontal speed is specifically balanced. In the absence of IK, the animation would have to be tweaked according to an x-offset calculated from that so the footing doesn't slide around.
The formula is something like:
x-offset (pixels/frame)
=
time-dependent character speed to be multiplied by deltaTime (pixels/second)
/
spine "framerate" (frames/second)
Actually, it would probably be neat feature if you could stick the deltaTime speed into the Ghosting panel itself and the x-offset ghosting could be automatically set from it. Dunno if I'd go so far as to request such a feature though. XD
Point is, sometimes, x-offset doesn't resolve to a nice round integer.
Spine-Unity Docs Repo, and check out the Unofficial Spine Users Tumblr.
7.5 years ago
-
Pharan - Posts: 5366
Pharan
No news on this?
(just wondering. no need to rush into it.
)
(just wondering. no need to rush into it.

Spine-Unity Docs Repo, and check out the Unofficial Spine Users Tumblr.
7.5 years ago
-
Pharan - Posts: 5366
Nate
Oh, it was done when you asked for it.
You can type a fractional frame step.

7.5 years ago
-
Nate - Posts: 10503
Pharan
Nope. Still clamped to whole numbers.
The offsets do fractions though.
The offsets do fractions though.

Spine-Unity Docs Repo, and check out the Unofficial Spine Users Tumblr.
7.5 years ago
-
Pharan - Posts: 5366
Nate
It works, are you typing it?


7.5 years ago
-
Nate - Posts: 10503
Pharan
What is going on.
Not working on mine though. I was definitely typing it.
I'll get back to you on it.
Not working on mine though. I was definitely typing it.
I'll get back to you on it.
Spine-Unity Docs Repo, and check out the Unofficial Spine Users Tumblr.
7.5 years ago
-
Pharan - Posts: 5366
Pharan
Oh, I see what's going on.
It accepts fractions but not values below 1, which is what I needed (and, IMO, what makes sense in the frame step field). XD
It accepts fractions but not values below 1, which is what I needed (and, IMO, what makes sense in the frame step field). XD
Spine-Unity Docs Repo, and check out the Unofficial Spine Users Tumblr.
7.5 years ago
-
Pharan - Posts: 5366
Nate
Ah, gotcha. Fixed!
7.5 years ago
-
Nate - Posts: 10503
Mark topic unread
• Page 1 of 1
Return to Bugs
- All times are UTC