Jump to content

mywebglflightspace 3D webgl space flight sim


chung
 Share

Recommended Posts

You need to fix your flight engine / coding.

You should be using matrices for rotation, will eliminate that weird jump and spin you get when you face close to the top and bottom of your direction.

 

Your camera should either use the same rotation matrix with an offset, or have it attached to the model and position it behind it. 

Link to comment
Share on other sites

  • 2 weeks later...

tryed to correct rotating near verticals, its because i use euler coordinates , it is called "gimbal lock" ...

but not so evident to use quaternions .

 

added stars info labels (I key, 1000 real stars data from hipparcos catalog), explosions, and game load/save menu (source code available)

once you have destroyed all spaceships in a solar system, you'll have to go to another star system to find others.

 

posted a video on youtube too

 

mywebglflightspace3.jpg

Link to comment
Share on other sites

  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...