Тёмный

A drift car in Godot 

Tomaga
Подписаться 265
Просмотров 2,7 тыс.
50% 1

The project can be found here:
notabug.org/to...

Опубликовано:

 

6 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@krishnamshinde5589
@krishnamshinde5589 2 года назад
this is actually really really cool thanks!
@cyyd552
@cyyd552 2 года назад
thanks
@me2beats313
@me2beats313 2 года назад
Thanks The question is how to make drift not so obvious. I mean it drifts too much
@tomaga4995
@tomaga4995 2 года назад
If you are using the version for Godot 3, please apply this patch in VehicleController.gd: grip_force = grip_controller.adjust(0, vehicle_state.velocity_sideways) drift_controller.reset() else: - drift_controller.adjust(0, vehicle_state.velocity_sideways) - grip_force = grip_controller.reset() + grip_force = drift_controller.adjust(0, vehicle_state.velocity_sideways) + grip_controller.reset() var direction = vehicle_rotation * Vector3.LEFT var grip_force_vector: Vector3 = direction * grip_force add_force(grip_force_vector, offset_drive) Also the drift angle is controlled by the DriftController and the GripController. You can try these changes (of course you can do that in the editor, I just show the git diff output here): [node name="DriftController" parent="." instance=ExtResource( 2 )] -kp = 1500.0 +kp = 9000.0 [node name="GripController" parent="." instance=ExtResource( 2 )] -kp = 1000.0 +kp = 500.0 ki = 10.0
@user-nJ2up5mo4t
@user-nJ2up5mo4t 2 года назад
wow Godot
@tobajzgame8459
@tobajzgame8459 Год назад
How you make this?
@tomaga4995
@tomaga4995 Год назад
Please have a look at my yt-channel, there are a couple of tutorials. If you have more questions, feel free to ask. 😃
@io_con-me.0363
@io_con-me.0363 Год назад
Cool but once u drift and u release the acc. The car slides almost forever in the same direction, with the same rotation ecc.
@tomaga4995
@tomaga4995 Год назад
I know it's not perfect, but I haven't had time to improve it yet.
@me2beats313
@me2beats313 2 года назад
hi really cool have you got a discord server It would be really cool to watch the project, also I have some questions
@tomaga4995
@tomaga4995 2 года назад
No discord server sorry, but feel free to ask questions here in the comments.
@vishalrajrai3866
@vishalrajrai3866 Год назад
@@tomaga4995 but u need a discord server
@vishalrajrai3866
@vishalrajrai3866 Год назад
@@tomaga4995 or you can create a telegram channel
Далее
I Made My First Game in Godot in 3 Weeks...
26:21
Просмотров 337 тыс.
Самое неинтересное видео
00:32
Просмотров 609 тыс.
IT'S MY LIFE + WATER  #drumcover
00:14
Просмотров 11 млн
4 Godot 4 Devs Make 4 Games in 44 Hours
25:19
Просмотров 517 тыс.
Ray Cast Car in Godot: grip (part 1)
14:12
Просмотров 805
Race 3D Template Godot 4.2 - R12 showcase
1:15
Просмотров 6 тыс.
3 Hours vs. 3 Years of Blender
17:44
Просмотров 4,8 млн
Giving Personality to Procedural Animations using Math
15:30
updated car models. [godot 4]
2:25
Просмотров 71
I Made the Same Game in 8 Engines
12:34
Просмотров 4 млн
Самое неинтересное видео
00:32
Просмотров 609 тыс.