• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Custom animation bouncing/warping?

Status
Not open for further replies.
1) For some reason when I make a custom animation, the model decides to bounce up and down between frames, instead of moving from one to the next.

2) Also, when I try to turn a wheel in a circle, it ends up warping into an oval at 45 degrees, and a flat disk at 90. thus making turning the wheel impossible.

3) When I have 'Herr Dave' turn his head, it warps diagonally, as if he was a rubber ball that'd been stepped on during the animation.
 
when ive tried animating with it i never get any unexpected results.. for your first problem it sounds like you are moving the model's skeleton up and down. but i dont know, since i have no idea what you are doing and i dont think anyone else does either try to be more precise if you want more help
 
Err-- right then.

You know how when animating, the model is supposed to move from pose to pose, yes? Well in-between the poses which I had set, the model bounces up and down, or moves strangely even though there aren't any poses in-between (blue lines)

As for the wheels, I had bound two separate wheels to the same bone and attempted to have the bone rotate vertically, in doing so the attached vertexes on either side decide to stretch and flatten.
 
It's not very clear to what exactly you are referring, but it sounds like one of these 3 cases to me. If I'm wrong, please excuse me:

1) have set an incorrect rotation (they are described by quaternions which are really tricky and I avoid scripting rotations manually for the most part, as said, use MdlVis instead to set rotations by touching the model, not scripting.)

2) have some vertices attached to more than 1 bone, in which case their movements are superimposed and cause such aberrations.

3) If you have a linearly interpolated rotation to an angle larger that 180°, it will occur at the other angle.

Let's say you have a model of a turret that turns from north (default) to the east, south and finally southwest. The model will, however, select the shorter way and simply rotate from north through west through southwest. To avoid that, split it in two rotations: north to southeast, then southeast to southwest.
 
It's not very clear to what exactly you are referring, but it sounds like one of these 3 cases to me. If I'm wrong, please excuse me:

1) have set an incorrect rotation (they are described by quaternions which are really tricky and I avoid scripting rotations manually for the most part, as said, use MdlVis instead to set rotations by touching the model, not scripting.)

2) have some vertices attached to more than 1 bone, in which case their movements are superimposed and cause such aberrations.

3) If you have a linearly interpolated rotation to an angle larger that 180°, it will occur at the other angle.

Let's say you have a model of a turret that turns from north (default) to the east, south and finally southwest. The model will, however, select the shorter way and simply rotate from north through west through southwest. To avoid that, split it in two rotations: north to southeast, then southeast to southwest.

You've solved the problem with the wheel stretching and flattening on solution #2, thank ye very much good sir!

Now the only thing jamming my model-works machine is custom animations 'bouncing/twitching' in-between pose frames (with no frames in-between)
 
1) For some reason when I make a custom animation, the model decides to bounce up and down between frames, instead of moving from one to the next.

2) Also, when I try to turn a wheel in a circle, it ends up warping into an oval at 45 degrees, and a flat disk at 90. thus making turning the wheel impossible.

3) When I have 'Herr Dave' turn his head, it warps diagonally, as if he was a rubber ball that'd been stepped on during the animation.

The reason the model is bouncing up and down is an interpolation issue. Try adding an extra frame inbetween the two frames it jumps between. Also, with rotation, try to never rotate a bone more than 90 degrees between two frames, again, for interpolation reasons.
 
@NhazUl - I would upload it, were it a normal model, but this is a very special request and the person who requested it doesn't want it up prior to its full completion, even if it hinders its development *facedesk*

(Also I havn't the foggiest idea how to upload models in this section)

@Fingolfin - I tried adding a frame where the model goes to its unwanted pose, but rather than fixing it, it ends up doing exactly what it did when broke.

It starts its broken movement, snaps to the pose I gave it for that single frame, and snaps back to its unwanted pose and moves onto the next custom frame.
 
If it doesn't work, then some of the Hermite/Bezier rotations are buggy and the bug is conserved when switching to linear interpolation. In this case you may have to script the rotation manually. To do this, you must use quaternions for the description of the angles. To calculate them from Euler angles (normal angles in degrees on x, y, z) you can use converters such as this one.
 
Alas, after having changed all from Hermite/Bezier to Linear, the bump & bob still remains.

Being a rather unintelligent individual, I have failed to grasp your instructions, sir NhazUl.

Having now gone back on my word, I shall now post the model.

https://www.hiveworkshop.com/forums/pastebin.php?id=9243u6

Long hours of reconstructing it from another game, and it has become my 'testing' model of sorts.

Attack - 1 is the animation that bumps and jitters.
 
Bone_Root had a scaling problem, likely caused by the Spell Blink animation where she disappears. Though the keyframes within the walk sequence didn't seem to alter the scaling of the model, I deleted all anyways and it works now and Spell Blink isn't affected anyway.
 

Attachments

Status
Not open for further replies.
Back
Top