Page MenuHomeFeedback Tracker

SetBrake() seems not working
Assigned, UrgentPublic

Description

the SetBrake() function of the CarController seems to have no effect.

I tried to use it in different places (OnUpdate, EOnPostSimulate, in custom script, before/after the super...) no positive result.

Details

Severity
Feature
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce

set a script like this:

modded class CarScript
{
	override void OnUpdate( float dt )
    {
		super.OnUpdate( dt );
		GetController().SetBrake(1);
	}
}

and if you control with a "GetController().GetBrake()" the result is still 0, the car does not brake ingame, no brake light at the rear

Event Timeline

Liven created this task.Aug 11 2022, 8:19 AM
Geez changed the task status from New to Assigned.Aug 23 2022, 11:40 PM