- Deadlock
- server
- CLogicalEntity
- CPhysMotor
- Also in
- Counter-Strike 2offsets differDota 2offsets differHalf-Life: Alyxdiffers
Fields
NameTypeOffset
phys_motorspawnable
- Flags
- ECF_NOT_NETWORKED
Keyvalues
NameTypeField
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).
TurnOff()
—
TurnOn()
—