/***************************************************************************
constraintactuator.h - description
-------------------
begin : Wed Dec 20 2000
copyright : (C) 2000 by Jan Walter
email : jan@blender.nl
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef CONSTRAINTACTUATOR_H
#define CONSTRAINTACTUATOR_H
#include <actuator.h>
/**A ConstraintActuator is a special kind of a general actuator.
*@author Jan Walter
*/
class Actuator.html">ConstraintActuator : public Actuator {
public:
ConstraintActuator();
~ConstraintActuator();
/** Returns the upper value of the interval to which the value is clipped. */
PyObject* getMax();
/** Sets the upper value of the interval to which the value is clipped. */
PyObject* setMax(float upper_bound);
/** Returns the lower value of the interval to which the value is clipped. */
PyObject* getMin();
/** Sets the lower value of the interval to which the value is clipped. */
PyObject* setMin(float lower_bound);
/** Returns the damping time for application of the constraint. */
PyObject* getDamp();
/** Sets the time with which the constraint application is delayed. If the duration is negative, it is set to 0. */
PyObject* setDamp(int duration);
/** Sets the type of constraint. The variable type can be KX_CONSTRAINTACT_LOCX, KX_CONSTRAINTACT_LOCY, KX_CONSTRAINTACT_LOCZ, KX_CONSTRAINTACT_ROTX, KX_CONSTRAINTACT_ROTY, or KX_CONSTRAINTACT_ROTZ. */
PyObject* setLimit(int type);
/** Returns the type of constraint. */
PyObject* getLimit();
};
#endif
Documentation generated by jan@nvidea on Thu Dec 21 14:04:43 CET 2000