Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Box2DX
Dynamics
LineJoint
SetMotorSpeed
Box2DX.Dynamics.LineJoint.SetMotorSpeed C# (CSharp) Method
LineJoint Class Documentation
Show file
Open project: danielpcox/Crisis-at-Swiss-Station
SetMotorSpeed()
public
method
Set the motor speed, usually in meters per second.
public
SetMotorSpeed
(
float
speed
) :
void
speed
float
return
void
public void SetMotorSpeed(float speed) { _body1.WakeUp(); _body2.WakeUp(); _motorSpeed = speed; }
LineJoint
EnableLimit
EnableMotor
GetJointSpeed
GetJointTranslation
GetLowerLimit
GetMotorForce
GetMotorSpeed
GetReactionForce
GetReactionTorque
GetUpperLimit
InitVelocityConstraints
IsLimitEnabled
IsMotorEnabled
LineJoint
SetLimits
SetMaxMotorForce
SetMotorSpeed
SolvePositionConstraints
SolveVelocityConstraints