Unreal Engine NPC Car Tutorial: Speed Control

preview_player
Показать описание
Hello everyone. This is a quick Tutorial, how to control the Speed of an AI Car.
I used the Version 5.1.1 of the Unreal Engine for this one.

Рекомендации по теме
Комментарии
Автор

If you're wondering how to get a vehicle to speed up or slow down based on curves and road conditions, implement logic that calculates stopping distance based on current throttle and braking intensity. Find the braking friction, wheel torque, and engine torque values in the UChaosWheeledVehicleComponent, and then calculate how much brake or throttle is needed to get from the current speed to the target speed by the given distance.

It's exponentially more beneficial than setting hard throttle or speed limits, as the speed changes are adaptive to the road conditions.

fyrefighter
Автор

Thank you so much for updating this speed control tutorial in UE5.1!

yaohanding
Автор

Thanks for the gear ratio equation, been trying to find it forever.

Extrone
Автор

Thank you for making a new tutorial on this!!

oliverholmberg
Автор

Thanks for video! How you did the GetPath function? Whithout it my logic doesn't work correct. My car start move forward immediately when i start scene wihout this function ((

skakun.design
Автор

Maybe you know how to make a timer for an AI so that it starts when the race starts and stops when it arrives at the finish line? I would be glad to see your video on solving this issue.

Зритель-шу
Автор

Thank you, but can you tell me how do i lower speed on turns?

MannDevani
Автор

Hey man, this is working great. But i need something extra. Im trying to tell Unreal to stop or increase accelaration when in contact with certain textures. Can you help me?

raulguedes
Автор

how did you add the street bridge to unreal project

sakshinadarge
Автор

Hii thanks can you make the indicator right and left. The car is about to turn on left so the indicator will flick

ap
Автор

Hey man. Works great. I ll just like to add like a condintion that if a car is cruisin in a certain floor(texture) the throttle shuts. Can you help?

raulguedes
Автор

very good tutorial but how can I make it to stop

lod
Автор

Hey bro, could you make a tutorial on how to make something similar to Gran Turismo driving school? Various tasks, awards, gold, silver, bronze, etc. and when the task is completed, open the next task

laurentiupolesciuc