Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Yet another 3d camera question, open space, no friction.

$
0
0

@MuntyScruntFundle wrote:

So, you've all played Elite Dangerous right? Or thought about it, I can recommend it if you like a relaxing game with a bit of pew thrown in.

Anyway, this is the kind of control I need to reproduce. The camera, basically the object you are sat in will be floating in a no friction medium. I need the usual forward and backwards stuff, slew, roll, etc.

I've done this in 2d space with top down views. I can handle all the pseudo physics for the object, but this damn camera object just boggles my mind. I'm confused as to why there isn't a simple operation to copy the position and rotation from another object. My 'ship' (for want of a better word) is pointing where it should be, behaving how it should be, all I want to do is bolt the camera on top, or in the cockpit I suppose. But then I need to complicate things further by adding head look to the existing vectors, this shouldn't be too difficult?

Maybe I'm missing something.

I've been looking for flight sim type examples, very few and far between. What I can find is either 3rd person camera positioning, or so vast pulling apart the code will take ages.

Is there anyone who could point me towards a small example or tutorial?

Many thanks.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles