GRAuM
10-08-2009, 05:04 AM
Hello there.
Im trying to do a flying FireBall. But it schould not act like a normal pysical object that is affected by Gravity. It should just fly strait in the direction that it was fired an explode at a special Range or if it hit something. Till now i only get it working by seting the velocity of the dmm object in every frame. So it flys and flys and flys. Like i need it, but im not shure if there are better ways. I was not able to find a function to set the gravitiy for a single object. Maby it would work if i add a force that is same like the grafity but in the opposite direction? Any ideas?
Im trying to do a flying FireBall. But it schould not act like a normal pysical object that is affected by Gravity. It should just fly strait in the direction that it was fired an explode at a special Range or if it hit something. Till now i only get it working by seting the velocity of the dmm object in every frame. So it flys and flys and flys. Like i need it, but im not shure if there are better ways. I was not able to find a function to set the gravitiy for a single object. Maby it would work if i add a force that is same like the grafity but in the opposite direction? Any ideas?