jump up and hit a box to make it jolt abit? help
CodeMonster
ACT, AustraliaMember Posts: 1,078
so when playing my game, if you jump up and hit a box, it will drop something random but before it does that i want it to jolt up and down slightly to give it some cool nice effect, but when i try this the box just goes flying into the air???
at the moment i have on my boxes "not moveable" because if there moveable and the player walks on them, they will fall, and if they hit from below, the box will move.
i tried constraining the boxes motion to 0 and lots of stuff, so any help would be great thanks!
at the moment i have on my boxes "not moveable" because if there moveable and the player walks on them, they will fall, and if they hit from below, the box will move.
i tried constraining the boxes motion to 0 and lots of stuff, so any help would be great thanks!
Comments
1. Create a frame based animation and run it when your player hits the box.
2. Use Interpolate Behaviors to manually move the block up and back down when the player hits it.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
i did the interpolate rule, it doesnt work 100% it just interpolates all the way up, so i just had to work my way around it, it works alright but still adding a few tweaks
GSINVENTION FREE TEMPLATES
Here's a jolt for you . . . .
. . . . this one settles into its rest state a little more naturally . . . .
GSINVENTION FREE TEMPLATES