physics::MotorJoint
kn::physics::MotorJoint Inherits kn::physics::Joint
Declared in kraken/physics/joints/MotorJoint.hpp
At a glance
10 membersReference
C++ APIsetLinearOffset
functionvoid setLinearOffset(const Vec2 &linearOffset)No description in the source header.
getLinearOffset
functionVec2 getLinearOffset() constNo description in the source header.
setAngularOffset
functionvoid setAngularOffset(float angularOffset)No description in the source header.
getAngularOffset
functionfloat getAngularOffset() constNo description in the source header.
setMaxForce
functionvoid setMaxForce(float maxForce)No description in the source header.
getMaxForce
functionfloat getMaxForce() constNo description in the source header.
setMaxTorque
functionvoid setMaxTorque(float maxTorque)No description in the source header.
getMaxTorque
functionfloat getMaxTorque() constNo description in the source header.
setCorrectionFactor
functionvoid setCorrectionFactor(float factor)No description in the source header.
getCorrectionFactor
functionfloat getCorrectionFactor() constNo description in the source header.