Class CPhysMotor
- Namespace
- CounterStrikeSharp.API.Core
- Assembly
- CounterStrikeSharp.API.dll
public class CPhysMotor : CLogicalEntity, IEquatable<CEntityInstance>
- Inheritance
-
object
CPhysMotor
- Implements
-
- Inherited Members
-
Constructors
CPhysMotor(nint)
public CPhysMotor(nint pointer)
Parameters
pointer
nint
Properties
AdditionalAcceleration
[SchemaMember("CPhysMotor", "m_additionalAcceleration")]
public ref float AdditionalAcceleration { get; }
Property Value
- float
AnchorObject
[SchemaMember("CPhysMotor", "m_hAnchorObject")]
public CHandle<CBaseEntity> AnchorObject { get; }
Property Value
- CHandle<CBaseEntity>
AngularAcceleration
[SchemaMember("CPhysMotor", "m_angularAcceleration")]
public ref float AngularAcceleration { get; }
Property Value
- float
AttachedObject
[SchemaMember("CPhysMotor", "m_hAttachedObject")]
public CHandle<CBaseEntity> AttachedObject { get; }
Property Value
- CHandle<CBaseEntity>
Motor
[SchemaMember("CPhysMotor", "m_motor")]
public CMotorController Motor { get; }
Property Value
- CMotorController
MotorFriction
[SchemaMember("CPhysMotor", "m_flMotorFriction")]
public ref float MotorFriction { get; }
Property Value
- float
NameAnchor
[SchemaMember("CPhysMotor", "m_nameAnchor")]
public string NameAnchor { get; set; }
Property Value
- string
NameAttach
[SchemaMember("CPhysMotor", "m_nameAttach")]
public string NameAttach { get; set; }
Property Value
- string
SpeedWhenSpinUpOrSpinDownStarted
[SchemaMember("CPhysMotor", "m_flSpeedWhenSpinUpOrSpinDownStarted")]
public ref float SpeedWhenSpinUpOrSpinDownStarted { get; }
Property Value
- float
SpinDown
[SchemaMember("CPhysMotor", "m_spinDown")]
public ref float SpinDown { get; }
Property Value
- float
SpinUp
[SchemaMember("CPhysMotor", "m_spinUp")]
public ref float SpinUp { get; }
Property Value
- float
TargetSpeed
[SchemaMember("CPhysMotor", "m_flTargetSpeed")]
public ref float TargetSpeed { get; }
Property Value
- float
TorqueScale
[SchemaMember("CPhysMotor", "m_flTorqueScale")]
public ref float TorqueScale { get; }
Property Value
- float