Predicting trajectorys

DudeCooper

09-09-2009 14:29:07

hi, i am making a game where you need to throw a ball at some objects and try and make the ball bounce on things to get to the end point like in http://www.youtube.com/watch?v=9-IdTd7pkU4 i have all the physics down but the first initial hit is hard to aim. I would like to have something like in peggle such as the aim helper http://www.geardiary.com/wp-content/uploads/2009/06/peggle-iphone.jpg but i am unsure on how i could do this using OgreNewt.
i came up with a few ideas like having many smaller balls being thrown to help but they didnt work.

Has any one here done anything like this before and if so please can you help with this

thank you

PJani

09-09-2009 19:21:10

Meybe you should try to make second world which will calculate that hit 2000times faster.

DudeCooper

10-09-2009 00:34:57

Thanks for the reply but i dont feel that would be an efficient way of doing it. There are physics equations which will allow for this to happen but i am unsure on which to use. I know i need to use the equations of motion and that because i am adding a force f = mv2 can be used. i think time needs to be an element to work out the displacement

Thank you