CLASS v1.8.0

physics::PrismaticJoint

kn::physics::PrismaticJoint

Inherits kn::physics::Joint

Declared in kraken/physics/joints/PrismaticJoint.hpp

Reference

C++ API

enableSpring

function
void enableSpring(bool enable)

No description in the source header.

bool isSpringEnabled() const

No description in the source header.

void setSpringHertz(float hertz)

No description in the source header.

float getSpringHertz() const

No description in the source header.

void setSpringDampingRatio(float dampingRatio)

No description in the source header.

float getSpringDampingRatio() const

No description in the source header.

void setTargetTranslation(float translation)

No description in the source header.

float getTargetTranslation() const

No description in the source header.

enableLimit

function
void enableLimit(bool enable)

No description in the source header.

bool isLimitEnabled() const

No description in the source header.

float getLowerLimit() const

No description in the source header.

float getUpperLimit() const

No description in the source header.

setLimits

function
void setLimits(float lower, float upper)

No description in the source header.

enableMotor

function
void enableMotor(bool enable)

No description in the source header.

bool isMotorEnabled() const

No description in the source header.

void setMotorSpeed(float speed)

No description in the source header.

float getMotorSpeed() const

No description in the source header.

void setMaxMotorForce(float force)

No description in the source header.

float getMaxMotorForce() const

No description in the source header.

float getMotorForce() const

No description in the source header.

float getTranslation() const

No description in the source header.

getSpeed

function
float getSpeed() const

No description in the source header.

Find your next step

Start typing to search the manual.