So i had an idea for a project that would work like a platformer. What im wondering whether or not I can give a unit the ability to.... I dunno i guess it would grant cliff jumping and play a jump animation or something upon a key press? Do most units even have jump animations? Any help on this would be very appreciated.
Off the top of my head, the easiest way to do this would be to have a key press that makes the unit a flying unit instead of a ground unit and adds a behavior that modifies the height.
If you wanted to make it look smoother, you'd have the unit's height during the jump controlled by trigger instead, using a gravity function to accelerate it downwards.
Ok. So I got it to work kinda how i like, but the problem is that occasionally, especially when jumping up and down cliffs, it bugs and the reaper is completely unable to move. Here is the trigger i am using.
In my opinion you should either just use the reaper's built in cliff jumping, remove the built in cliff jumping and make your own, or use an entirely different unit. Having both the built in cliff jumping and the one that you made is going to clash terribly - as you have already pointed out that it is.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So i had an idea for a project that would work like a platformer. What im wondering whether or not I can give a unit the ability to.... I dunno i guess it would grant cliff jumping and play a jump animation or something upon a key press? Do most units even have jump animations? Any help on this would be very appreciated.
@RedAlwaysMafia: Go
Most units do not have jump animations.
Off the top of my head, the easiest way to do this would be to have a key press that makes the unit a flying unit instead of a ground unit and adds a behavior that modifies the height.
If you wanted to make it look smoother, you'd have the unit's height during the jump controlled by trigger instead, using a gravity function to accelerate it downwards.
@RedAlwaysMafia: Go
Reapers and raptorlings do.
Ok. So I got it to work kinda how i like, but the problem is that occasionally, especially when jumping up and down cliffs, it bugs and the reaper is completely unable to move. Here is the trigger i am using.
@RedAlwaysMafia: Go
In my opinion you should either just use the reaper's built in cliff jumping, remove the built in cliff jumping and make your own, or use an entirely different unit. Having both the built in cliff jumping and the one that you made is going to clash terribly - as you have already pointed out that it is.