unreal.RevLimiterMotorSimComponent

class unreal.RevLimiterMotorSimComponent(outer: Object | None = None, name: Name | str = 'None')

Bases: AudioMotorSimComponent

Temporarily cuts throttle and reduces RPM when drifting or in the air

C++ Source:

  • Plugin: AudioMotorSim

  • Module: AudioMotorSimStandardComponents

  • File: RevLimiterMotorSimComponent.h

Editor Properties: (see get_editor_property/set_editor_property)

  • air_max_throttle_time (float): [Read-Write] How long should the rev limiter be enabled for while in air

  • asset_user_data (Array[AssetUserData]): [Read-Write] Array of user data stored with the component

  • asset_user_data_editor_only (Array[AssetUserData]): [Read-Write] Array of user data stored with the component

  • auto_activate (bool): [Read-Write] Whether the component is activated at creation or must be explicitly activated.

  • cached_input (AudioMotorSimInputContext): [Read-Write] Input data after running this component

  • cached_runtime_info (AudioMotorSimRuntimeContext): [Read-Write] runtime info after running this component

  • can_ever_affect_navigation (bool): [Read-Write] Whether this component can potentially influence navigation

  • clutched_recover_rpm (float): [Read-Write] When rev limiting on clutch, the RPM at which the throttle will be re-enabled

  • component_tags (Array[Name]): [Read-Write] Array of tags that can be used for grouping and categorizing. Can also be accessed from scripting.

  • decel_scale (float): [Read-Write] deprecated: DecelScale is deprecated.

  • editable_when_inherited (bool): [Read-Write] True if this component can be modified when it was inherited from a parent actor class

  • enabled (bool): [Read-Write] will only update if enabled

  • hold_rpm_in_reverse (bool): [Read-Write] Bypasses the limiter in reverse and holds the RPM at ReverseMaxRPM

  • is_editor_only (bool): [Read-Write] If true, the component will be excluded from non-editor builds

  • limit_time (float): [Read-Write] How long will the throttle be cut for when the limiter kicks in

  • limiter_max_rpm (float): [Read-Write] Ceiling RPM for the Rev Limiter

  • on_component_activated (ActorComponentActivatedSignature): [Read-Write] Called when the component has been activated, with parameter indicating if it was from a reset

  • on_component_deactivated (ActorComponentDeactivateSignature): [Read-Write] Called when the component has been deactivated

  • on_rev_limiter_hit (OnRevLimiterHit): [Read-Write]

  • on_rev_limiter_state_changed (OnRevLimiterStateChanged): [Read-Write]

  • primary_component_tick (ActorComponentTickFunction): [Read-Write] Main tick function for the Component

  • replicate_using_registered_sub_object_list (bool): [Read-Write] When true the replication system will only replicate the registered subobjects list When false the replication system will instead call the virtual ReplicateSubObjects() function where the subobjects need to be manually replicated.

  • replicates (bool): [Read-Write] Is this component currently replicating? Should the network code consider it for replication? Owning Actor must be replicating first!

  • rev_limit_on_clutch_engaged (bool): [Read-Write] If enabled, rev limiter behavior will be triggered by having the clutch engaged

  • rev_limit_on_reverse (bool): [Read-Write] If enabled, rev limiter behavior will be triggered when in reverse

  • reverse_max_rpm (float): [Read-Write] The max RPM allowed when reversing

  • reverse_recover_rpm (float): [Read-Write] When rev limiting on reverse, the RPM at which the throttle will be re-enabled

  • shift_back_to_zero (bool): [Read-Write] If the car should shift back to 0 when the rev limiter is engaged

  • side_speed_threshold (float): [Read-Write] The side speed needed to trigger the rev limiter

property air_max_throttle_time: float

[Read-Write] How long should the rev limiter be enabled for while in air

Type:

(float)

property clutched_recover_rpm: float

[Read-Write] When rev limiting on clutch, the RPM at which the throttle will be re-enabled

Type:

(float)

property decel_scale: float

[Read-Write] deprecated: DecelScale is deprecated.

Type:

(float)

property hold_rpm_in_reverse: bool

[Read-Write] Bypasses the limiter in reverse and holds the RPM at ReverseMaxRPM

Type:

(bool)

property limit_time: float

[Read-Write] How long will the throttle be cut for when the limiter kicks in

Type:

(float)

property limiter_max_rpm: float

[Read-Write] Ceiling RPM for the Rev Limiter

Type:

(float)

property on_rev_limiter_hit: OnRevLimiterHit

[Read-Write]

Type:

(OnRevLimiterHit)

property on_rev_limiter_state_changed: OnRevLimiterStateChanged

[Read-Write]

Type:

(OnRevLimiterStateChanged)

property rev_limit_on_clutch_engaged: bool

[Read-Write] If enabled, rev limiter behavior will be triggered by having the clutch engaged

Type:

(bool)

property rev_limit_on_reverse: bool

[Read-Write] If enabled, rev limiter behavior will be triggered when in reverse

Type:

(bool)

property reverse_max_rpm: float

[Read-Write] The max RPM allowed when reversing

Type:

(float)

property reverse_recover_rpm: float

[Read-Write] When rev limiting on reverse, the RPM at which the throttle will be re-enabled

Type:

(float)

property shift_back_to_zero: bool

[Read-Write] If the car should shift back to 0 when the rev limiter is engaged

Type:

(bool)

property side_speed_threshold: float

[Read-Write] The side speed needed to trigger the rev limiter

Type:

(float)