unreal.MotorPhysicsSimConfigData¶
- class unreal.MotorPhysicsSimConfigData(weight: float = 0.0, engine_torque: float = 0.0, braking_horse_power: float = 0.0)¶
Bases:
AudioMotorSimConfigDataMotor 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 quicklyengine_torque(float): [Read-Write] The force of the engine. Large values will accelerate the vehicle more quickly, but also apply more friction when engine brakingweight(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)