unreal.MotorPhysicsSimConfigData

class unreal.MotorPhysicsSimConfigData(weight: float = 0.0, engine_torque: float = 0.0, braking_horse_power: float = 0.0)

Bases: AudioMotorSimConfigData

Motor Physics Sim Config Data

C++ Source:

  • Plugin: AudioMotorSim

  • Module: AudioMotorSimStandardComponents

  • File: StandardAudioMotorSimConfigDataTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • braking_horse_power (float): [Read-Write] The force applied when braking. Large values will slow down the vehicle more quickly

  • engine_torque (float): [Read-Write] The force of the engine. Large values will accelerate the vehicle more quickly, but also apply more friction when engine braking

  • weight (float): [Read-Write] The weight of the vehicle, used to calculate the generated RPM. Heavier weight means a slower rpm increase due to weight resistance and ground friction

property braking_horse_power: float

[Read-Only] The force applied when braking. Large values will slow down the vehicle more quickly

Type:

(float)

property engine_torque: float

[Read-Only] The force of the engine. Large values will accelerate the vehicle more quickly, but also apply more friction when engine braking

Type:

(float)

property weight: float

[Read-Only] The weight of the vehicle, used to calculate the generated RPM. Heavier weight means a slower rpm increase due to weight resistance and ground friction

Type:

(float)