physics::PrismaticJoint
kn::physics::PrismaticJoint Inherits kn::physics::Joint
Declared in kraken/physics/joints/PrismaticJoint.hpp
At a glance
22 membersenableSpringfunctionisSpringEnabledfunctionsetSpringHertzfunctiongetSpringHertzfunctionsetSpringDampingRatiofunctiongetSpringDampingRatiofunctionsetTargetTranslationfunctiongetTargetTranslationfunctionenableLimitfunctionisLimitEnabledfunctiongetLowerLimitfunctiongetUpperLimitfunctionsetLimitsfunctionenableMotorfunctionisMotorEnabledfunctionsetMotorSpeedfunctiongetMotorSpeedfunctionsetMaxMotorForcefunctiongetMaxMotorForcefunctiongetMotorForcefunctiongetTranslationfunctiongetSpeedfunctionReference
C++ APIenableSpring
functionvoid enableSpring(bool enable)No description in the source header.
isSpringEnabled
functionbool isSpringEnabled() constNo description in the source header.
setSpringHertz
functionvoid setSpringHertz(float hertz)No description in the source header.
getSpringHertz
functionfloat getSpringHertz() constNo description in the source header.
setSpringDampingRatio
functionvoid setSpringDampingRatio(float dampingRatio)No description in the source header.
getSpringDampingRatio
functionfloat getSpringDampingRatio() constNo description in the source header.
setTargetTranslation
functionvoid setTargetTranslation(float translation)No description in the source header.
getTargetTranslation
functionfloat getTargetTranslation() constNo description in the source header.
enableLimit
functionvoid enableLimit(bool enable)No description in the source header.
isLimitEnabled
functionbool isLimitEnabled() constNo description in the source header.
getLowerLimit
functionfloat getLowerLimit() constNo description in the source header.
getUpperLimit
functionfloat getUpperLimit() constNo description in the source header.
setLimits
functionvoid setLimits(float lower, float upper)No description in the source header.
enableMotor
functionvoid enableMotor(bool enable)No description in the source header.
isMotorEnabled
functionbool isMotorEnabled() constNo description in the source header.
setMotorSpeed
functionvoid setMotorSpeed(float speed)No description in the source header.
getMotorSpeed
functionfloat getMotorSpeed() constNo description in the source header.
setMaxMotorForce
functionvoid setMaxMotorForce(float force)No description in the source header.
getMaxMotorForce
functionfloat getMaxMotorForce() constNo description in the source header.
getMotorForce
functionfloat getMotorForce() constNo description in the source header.
getTranslation
functionfloat getTranslation() constNo description in the source header.
getSpeed
functionfloat getSpeed() constNo description in the source header.