Page 1 of 1
ball path problem
Posted:
Fri Jan 05, 2007 11:08 am
by mt
we are making a cricket game and in it we are assinging a path to the ball. but the problem is that it looks as if the ball is moving (rolling) on the ground. i want it look as if the ball is above ground and bounces on the pitch and then towards the batsman.
1 way i thought of doing it was if i change the animation so that the ball looks bigger in the starting and smaller at the end but is there a way to change the animation in a path.
Posted:
Fri Jan 05, 2007 12:33 pm
by Kodo
Sounds like you need to add a shadow object that runs along the ground at the same speed as the ball. This may give the impression that the ball is off the ground.
Posted:
Fri Jan 05, 2007 10:46 pm
by Game A Gogo
or, make it bigger depending on it position in air.
thankz
Posted:
Mon Jan 08, 2007 3:44 pm
by mt
thank you both for replying. i'll try that.
Posted:
Tue Jan 16, 2007 9:37 pm
by mt
i tried the shadow solution u gave me. but now i have 2 problems
1) the shadow does not move so accuratly with the ball. im using move to function both with the ball and shadow. maybe im doing this wrong, is there another way for the actor to follow another actor?
2) when the shadow has moved to the certain point i used move finish to change its animation. but i also want it to collide with the ball at this point. is there a way to do that?