Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ball Hitting Problem
#1
well I want a ball that destroyes other balls (except 3005 ones) and carry on going but it gets destroyed when hitting a character..

so I used state 3006 and ik8 in there with same area of effect as the ik0 in the flying frames, but it doesn't work good, sometimes he hits the character and go on destroying things and at times he doesn't even hurt character and simply goes to hitting frames..

need some help and advice in here..
the basic idea for the ball is that its stronger than other balls so it shouldn't get destroyed by them but still get destroyed when hitting t0 characters..
Reply
Thanks given by:
#2
quick thought, what if you used state: 3000 and the hit frames look like flying frames, and have next: 999 (or whatever your flying frames are). Also in the hit frames, include the ik8, which brings it to the "i am hit let's disappear" animation.

The problem left here is how to destroy state: 3006 objects. Try in your "hit" frames, use state: 3006. That might solve all your requirements.



Azriel~
Reply
Thanks given by: Rhino.Freak
#3
hmm it isnt working too, ball still doesnt get destroyed when hitting chars
Reply
Thanks given by:
#4
Have you included the ik8 with dvx: to "disappearing frames" in the "hit" frames?
If you have, it's probably affected by the arest/vrest delay. Try to find a way around that if so.



Azriel~
Reply
Thanks given by:
#5
alright wait.. just let me clear the mist a bit..

when ball hits other balls -> goes to hit frames
when ball hits characters -> goes to hitting frames

so I need to put the ik8 in which one again?
and the hit frames shall redirect to flying frames?

please correct me if I am wrong
Reply
Thanks given by:
#6
ah I forgot it could be both hit/hitting, here's a quick summary thing:

assume:
0 flying
10 hit
20 hitting
50 disappearing

0: state: 3000, ik0
10: state: 3006, ik0, ik8 dvx: 50
20: state: 3006, ik0, ik8 dvx: 50
50~55: disappearing animation

40 (what should happen at rebound?)

also, for sounds you might get a double hit sound with other 3006 objects, might want to experiment how to just get 1 hit sound.



Azriel~
Reply
Thanks given by: Rhino.Freak
#7
thankS! :D

just 1 thing, why does the hit/hitting frames have ik0?
Reply
Thanks given by:
#8
so they will destroy any other ball that they will encounter.
Reply
Thanks given by: Rhino.Freak
#9
(07-03-2013, 10:54 AM)rhino.freak Wrote:  thankS! :D

just 1 thing, why does the hit/hitting frames have ik0?

to destroy state: 3006 objects. watch out for double hit-sounds again



Azriel~
Reply
Thanks given by: Rhino.Freak
#10
lovely! now I shall implement all this and report back if there are any problems :)
Reply
Thanks given by:




Users browsing this thread: 3 Guest(s)