jorgenoro Posted September 12, 2015 Share Posted September 12, 2015 Hello, I'm trying to make this super simple demo, in wich I have a charecter and want to control it in 3rd person view.The first thing that came to my mind was this:if (up_arrow) position.z += some_valueif (left_arrow) position.x += some_value(...)Of course, this doesn't work as I want. I need to turn to left and right, and only move in the Z+ of my character.This is my problem. How do I move in the direction it's facing? EDIT:I think I found a solution:http://babylon.azurewebsites.net/This is the "Car game" from the Babylon website.I look through the code, by i'm not grasping the idea...Any help would be thankful Thanks a lot! Quote Link to comment Share on other sites More sharing options...
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.