Jump to content

Rotate an object soglaen specified direction


DigitalHilsone
 Share

Recommended Posts

Greetings to all.I go straight to the point - I can not make the turn the ship according to the direction of flight. There is a lack of experience and knowledge. Please help.I laid out a project on their own domain and put the source code.

 

Thanks in advance. And finally the question - who can help with the project by writing tips?

 

Also, I can tell you about all those interested in the project through private messages.

Link to comment
Share on other sites

Beautiful scene, DH!  Now I better understand your quest.  Yeah, we can pretend plane or splane is our ground, and get click coords from that.  (getGroundPosition would become getPlanePosition)  :)

 

Yep, I think .lookAt will work for you... after some tweaking.

 

Nice stars.  A plane of stars, a second "star plane", and particles... real nice.  http://digitalhilsone.pw/scenes/system.js

Link to comment
Share on other sites

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...