-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It is turning to left and right when breaking in the ramp. #5
Comments
Hello. I didn't look too closely, but I noticed that you are using far from normal suspension settings. TX physics really doesn’t like it when extreme settings are used, just like TO physics. Please try to substitute the values from this configuration file https://github.com/sigson/UTanks/blob/master/Data/GameConfig/garage/hull/wasp/public.yml and try to reproduce the problem with them. You should know that this is a modified TX physics, and although I did not introduce anything into it that should give such an effect, nevertheless, I cannot say anything after the passage of time, since I simply no longer remember the areas where my code works and which ones it gives effects. |
I will try with that values. |
I wrote several functions that are responsible for creating realistic lateral vertical inertia of the hull so that the tank can roll over on skids. https://m.youtube.com/watch?v=8dd5w0rzvws In the video you can see how a tank, when turning at high speed, falls on its side and can even topple over. In theory, this should not interfere with what you are talking about. There is another possible reason - inaccurate fit of the ramp to the surface. If, after leaving the ramp, the right or left set of suspension beams catches the surface first, this can lead to the suspension “clinging” to the ground with a certain side of the beams first and, accordingly, turning sideways. Another option - you can use the file comparison utility (n++ compare/meld) and compare my ChassisSystem file with the original file that I took from here https://github.com/radiomonter/Tanki_X/blob/master/Tanks/Battle/ ClientCore/Impl/ChassisSystem.cs, you will see what changes have been made. |
And I wanted also ask from you, there is not center of mass of the tank, why? YOUR COMMENT - "There is another possible reason - inaccurate fit of the ramp to the surface. If, after leaving the ramp, the right or left set of suspension beams catches the surface first, this can lead to the suspension “clinging” to the ground with a certain side of the beams first and, accordingly, turning sideways." Yes, I think so. But how to fix it? How can make my tank accurately fit of the ramp surface when leaving ramp? |
you forced me to load the tanks and check it myself. In this video https://youtu.be/8iMmGPKsGeU you can see the settings and the fact that what you are talking about is simply not there. Perhaps it really is a matter of incorrect fit of the card parts to each other, since my objects are connected programmatically and have minimal gaps - I don’t have such a problem, but you do. |
Thanks for helping, dude. I think that maybe the issue is that I did not test it directly in whole built project like you. |
Would you prepare a short video how to build the project and that's all. Please, make a video how did u setup this project step by step. |
Special for you |
You know, I considered this unnecessary because it literally does not require anything special to build, except for minimal knowledge about the principles of how the dotnet in vs build works and an understanding of how to open a project in Unity, which almost everyone has successfully completed, except maybe you. |
and one more thing - the server must be running before you start connecting to it, otherwise the client will crash with an error and stop connecting. |
Thank you. |
I have not info and experience with dotnet and building works in vs, that's why :) |
I will find issue why that problem has occurred about turning to left and right while leaving ramp. |
It is turning to left and right when jumping from ramp like in the video.
I show issue in this 1:22 minute short video https://youtu.be/O4a17Md8ze4
The issue is when I move my tank in ramp and jump from ramp like in the video and while it I release "W" or "S" and tank breaking and then it is turning to left and right. So why? There is not such issue in Tanki X.
NOTE: I did not change of your code. It is original code. This issue is in your project.
Do you know why?
The text was updated successfully, but these errors were encountered: