- Home /
Rotate a Vector3 (linear force to fly like a plane) with mouse position
Hello guys, I'm completely and i'm learning C# programmation, i'm making a game and I want my character to fly at a kinda high speed with mouse position, I did some researches but I found nothing helpful. I tried some test but as a beginner nothing worked (in my game the character can move, jump, rotate with mouse position, shoot, kill, die and respawn). For the program i had an idea like : If getButonDown so put a linear force*speed rotating with mouse position else no linear force or something. But I dont know how to put it as a C# program. Can someone help me pls ?
Your answer
Follow this Question
Related Questions
Player not facing the mouse correctly 1 Answer
Rotating wrong 0 Answers
Using xbox controller with top down shooter 0 Answers
Bullet flies away for no apparent reason. 1 Answer
Help with hold x,y,z rotation 1 Answer