Gravity?!?!?

Blitz3D Forums/Blitz3D Beginners Area/Gravity?!?!?

W(Posted 2006) [#1]
Hey guys, can anyone show me how to make decent gravity effects, without buying a physics engine or program?? I have tried a few ways, but none of them look good. I am implementing gravity into my FPS, and I need it to look decent, I am using a camera on a pivot type player.
-Any help would be appreciated!!


Rob Farley(Posted 2006) [#2]



octothorpe(Posted 2006) [#3]
Yikes, that seems a little convoluted to me, Rob.

My approach would be to use objects (Types) to keep track of the velocities of physical bodies. See my post in this discussion for an explanation and an example.


Rob Farley(Posted 2006) [#4]
Octothorpe, I find using a pivot to deal with velocities very simple, it also means to add a shunt force at 10 degress for example you simply rotate the physics pivot to the direction of the shunt and move it with however much force you want.

It also means you're only using one handle for all the forces acting on a body which to me seem simpler and can be controlled using all the standard entity functions


octothorpe(Posted 2006) [#5]
Interesting. I suppose it does do the trick! :)

To each his own, as the proverb goes.