Animation Question
i have an ice ground and i would like to make a fish come crashing through the ice reach a certain hight then fall back down into the ice and the crack disappears,but my character will collide with the fish.
im just after the theory side of how to do it as in pure animation or make the crash then add the fish separately
thanks
im just after the theory side of how to do it as in pure animation or make the crash then add the fish separately
thanks
Comments
I'd have the animated "cracking of ice" actor spawn randomly in or near where your ice is, in it's behaviors have a spawn actor; fish and the animation behavior as well.
That should make it look like the ice breaks and the fish will jump out of it.
When actor's self.position.Y > random(200,400);
Move @ 270 degrees (add your speed here) relative to the scene.
That will give the fishies a random jumping height before they start to fall back down.
Alternatively, you can have a REAL self.attribute, lets call it JumpHeight. Start the actor's behaviors with change attribute self.JumpHeight to Random(200,400), then in the RULE;
When Actor's self.position.Y = self.JumpHeight;
Move @ 270 degrees (insert speed here) relative to the scene
Hope that helps!
Good luck!
EDIT: Or if you know how high you want the fishies to jump, then put that value in the first option I gave you. Good luck!