I’m sorry if this goes to the wrong category.
Hello everyone,
Can someone explain how to create planes with War Thunder control-style using LinearVelocity and AngularVelocity/AlignOrientation, which mostly depends on mouse and camera input? I tried to make it on my own, but it’s unable to perform a loop pitch maneuver and has some major camera issues. So I wanted to make it from scratch all over again.
Here’s a YouTube video link showing what I’m looking for (I found this randomly):
Any explanation or suggestion of similar setups would be appreciated. Thanks!
1 Like
I have made a similar spaceship controller which should be easier because maxforces are always inf,
I used exactly angularvelocity and linearvelocity with values that got changed per frame instead of tweens but maybe tweening values is much better and also
the mouse movement/delta to get the angularvelocity move and Q,E to roll, I just really plugged the values together lol but seeing the vid maybe you need alignorientation and instead of a locked mouse make it able to move.
I dont have any code since I lost the project but I recommend you to start slowly
I have a question, How were you able to break through the gimbal lock?
Ive been trying my hardest to make a small plane system for an animation controlled rig but for some reason whenever I try the mechanics I just start spiralling like an orbit.
Use quaternions. I think there are some good modules with this already