| 12-22-2004, 03:11 PM | #1 |
Guest | Can a unit jump somewhere or look like jumping. |
| 12-22-2004, 06:12 PM | #2 |
Guest | hmmm,you need triggers to do it,but I am not sure...try looking on the anims,maybe it has one that jumps... |
| 12-22-2004, 06:50 PM | #3 |
Of course he has to use triggers... If you play around with Animation - Set Units flying hight to X (Wrote this from mind...) you could create the "jump" effect. (You'd have to test a bit for the perfect look...) |
| 12-22-2004, 09:43 PM | #4 |
Guest | I mean advanced triggers >_< Animation ones arent THAT advanced -.- |
| 12-22-2004, 10:18 PM | #5 |
Uh, no. Mr. Riddle is right. Animation - Change (Unit) flying height to TargetHeight at Idontknowhowtoexplainthis. |
| 12-23-2004, 06:56 AM | #6 |
Hmmm riddle or RiDdLe, please :D |
| 12-23-2004, 08:38 AM | #7 |
Guest | Thanks, the unit jumps... but it cant move at the same time. Is there a way to make it jump AND move. |
| 12-23-2004, 10:30 AM | #8 |
just order the unit to move somewhere and then activate the trigger change unit's movement hight (it's just an example) |
| 01-30-2005, 08:32 PM | #9 |
If its in a cinematic just create a few small regions from starting to end point(more will look better, but also be more complicated). Then Play a walk animation to first location, when he gets there play another animation to make it look likes he is jumping raise height, move to other location raise height, etc... til middle location then make him start going down. Just a idea. But of course its not going to look good if you want him to jump a great distance with 3 locations. |
| 02-01-2005, 01:21 PM | #10 | |
Guest | Quote:
Can you generate generic regions? Please tell me how........ |
| 02-01-2005, 02:56 PM | #11 |
Yah simple jumping is just changing height. To change height of a ground unit, give it crow form then remove crow form. Trent14 is wrong in one part in that you can't exactly play a walk animation. It just doesn't play. To move while jumping (if normal moving doesn't work, dun know), simply turn on a periodic trigger that moves the unit forward towards wherever it is facing (or make it facing+angle if you want him to turn). |
| 02-03-2005, 06:09 AM | #12 |
Guest | In some angel arena.......... You choose the blue/purple guy with teleport/blink (located on the left side) and gets some levels..... Then use your "ultimate"... He jumps, making a salto looking very cool, and transforms to something looking like a pandaren brewmaster............... Look at it. JoraK |
| 02-03-2005, 03:28 PM | #13 |
The best way is how TheGreatNoob does it. make the unit flying, move the unit via a trigger while changing the height. easier said then done however...i still havent figured out the triggers for it.. -Murcielago) |
| 02-03-2005, 11:25 PM | #14 |
Guest | It is more or less basic math. You can easily use a sine curve or something alike to get a smooth flying height change, like in the attached spell. You take the distance between the jumper and the destination, and normalize it on a [-1,1] interval. Then you start with sin(0°) and end with sin(180°) which is exactly a smooth jump. There are numerous other ways to do this.. The rest is straight forward - make sure you use a short periodic timer for the actual movement though, "call TriggerSleepAction(0)" is by no means fast enough for this. |
