CS::Physics::Bullet::iPivotJoint Struct Reference
A joint to attach to a rigid body in order to manipulate it. More...
#include <ivaria/bullet.h>
Inheritance diagram for CS::Physics::Bullet::iPivotJoint:

Public Member Functions | |
| virtual void | Attach (::iRigidBody *body, const csVector3 &position)=0 |
| Attach a rigid body to the joint. | |
| virtual iRigidBody * | GetAttachedBody () const =0 |
| Return the body attached to this joint, or 0 if there are none. | |
| virtual float | GetDamping () const =0 |
| Get damping. | |
| virtual float | GetImpulseClamp () const =0 |
| Get impulse clamp. | |
| virtual csVector3 | GetPosition () const =0 |
| Get the current position of the joint, in world coordinates. | |
| virtual float | GetTau () const =0 |
| Get tau. | |
| virtual void | SetParameters (float impulseClamp, float tau, float damping)=0 |
| Set pivot joint parameters. | |
| virtual void | SetPosition (const csVector3 &position)=0 |
| Set the new position of the joint, in world coordinates. | |
Detailed Description
A joint to attach to a rigid body in order to manipulate it.
It is contrained in translation and has free rotation. You can move freely the position of the joint, the body will keep attached to the joint.
Definition at line 735 of file bullet.h.
Member Function Documentation
| virtual void CS::Physics::Bullet::iPivotJoint::Attach | ( | ::iRigidBody * | body, | |
| const csVector3 & | position | |||
| ) | [pure virtual] |
Attach a rigid body to the joint.
- Parameters:
-
body The rigid body to attach to the joint. position The initial position of the joint, in world coordinates.
| virtual iRigidBody* CS::Physics::Bullet::iPivotJoint::GetAttachedBody | ( | ) | const [pure virtual] |
Return the body attached to this joint, or 0 if there are none.
| virtual float CS::Physics::Bullet::iPivotJoint::GetDamping | ( | ) | const [pure virtual] |
Get damping.
| virtual float CS::Physics::Bullet::iPivotJoint::GetImpulseClamp | ( | ) | const [pure virtual] |
Get impulse clamp.
| virtual csVector3 CS::Physics::Bullet::iPivotJoint::GetPosition | ( | ) | const [pure virtual] |
Get the current position of the joint, in world coordinates.
| virtual float CS::Physics::Bullet::iPivotJoint::GetTau | ( | ) | const [pure virtual] |
Get tau.
| virtual void CS::Physics::Bullet::iPivotJoint::SetParameters | ( | float | impulseClamp, | |
| float | tau, | |||
| float | damping | |||
| ) | [pure virtual] |
Set pivot joint parameters.
| virtual void CS::Physics::Bullet::iPivotJoint::SetPosition | ( | const csVector3 & | position | ) | [pure virtual] |
Set the new position of the joint, in world coordinates.
The documentation for this struct was generated from the following file:
- ivaria/bullet.h
Generated for Crystal Space 2.1 by doxygen 1.6.1
