Jump to content
Sign in to follow this  
UNN

SetVectorUp, SetVectorDir and 3D coords

Recommended Posts

Thanks for the reply. If we were for example, to produce (or more likely acquire-which I have) a basic flight sim engine, then in theory couldn't we - using player input commands - create our own flight model and use an integrator to turn calculated forces and accelerations into positional changes, where said positional changes (yaw,bank,pitch) could then be implemented using your method or the matrix method?

Just a thought of a big project which could be undertaken were one so inclined. I'll have a read through my Ian Millington book again and see if I'm still so keen on the idea after reading his matrix part of it biggrin_o.gif

Quote[/b] ]For me, it required a lot of time and effort, to get as far as I did.

I'll be it did mate. You should have seen the amount of time I wasted working on a setpitch function for OFP. I don't even want to talk about it biggrin_o.gif

Share this post


Link to post
Share on other sites

One of the books I have "Physics for Game Developers" by David M Bourg, has a section for modelling aircraft. From that, I can't see why you couldn't implement such a thing using the scripting language. The ARMA engine already handles things like collision detection. But there is a still a lot you would have to add yourself, like dynamic sounds and AI e.t.c Just as a couple of examples off the top of my head. Add to that how it would work in MP.

Quote[/b] ]implemented using your method or the matrix method?

I think at the end of the day, it's all the same maths? A matrix just offers a more flexible way of calculating it all, if you’re writing a system from scratch.

Quote[/b] ]I'll be it did mate. You should have seen the amount of time I wasted working on a setpitch function for OFP. I don't even want to talk about it

Lol...Well that’s another side. In this case, it's my lack of natural aptitude when it comes to maths and probably not paying attention when I was at school sad_o.gif It took a lot of, wading through numerous examples coupled with trial and error, to figure out something that at least worked.

I'm sure there are other people on the forums, better qualified to answer these questions.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×