Type / to search schemas

CPhysMotor

phys_motor1280 bytes (0x0500), align 8Source
Also in
Counter-Strike 2offsets differDeadlockoffsets differHalf-Life: Alyxdiffers

Fields

phys_motorspawnable

Flags
ECF_NOT_NETWORKED

Keyvalues

Inputs

NamePulseDescription
GetActualSpeed() → (retval: float)
Get the current rotation speed (deg/s) of the attached object about the motor's axis. May differ from the motor's target speed.
SetFriction(param: float)
—
SetSpeed(param: float)
—
SetSpinDownTime(fSpinDownTime: float)
Sets the time the motor takes to spin down to a lesser target speed when it's on.
SetSpinUpTime(fSpinUpTime: float)
Sets the time the motor takes to spin up to a greater target speed when it's on.
SetSystemInertiaScale(flInertiaScale: float)
Sets the inertia scale on the motor, which affects the maximum amount of torque it can generate (this will also affect the actual time the motor takes to spin up or spin down).
—
—

Outputs