Jump to content

How to make camera move in a direction relative to rotation?


Shadowskull1247
 Share

Recommended Posts

Hey all!  I am both new to Babylon and these forums!

I want to make a First Person Camera that moves in a direction based on its rotation (e.i. like a forward/backwards functionality with W/S).

Only problem is I don't know how to do this without maybe physics engines enabled or making a bunch of really janky movements.

I want something like Unity's Transform.forward.

How do I achieve this?

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