Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions

# BulletSphericalConstraint Class Reference

A constraint between two rigid bodies, each with a pivot point. More...

Inheritance diagram for BulletSphericalConstraint:

List of all members.

## Public Member Functions
| BulletSphericalConstraint (BulletRigidBodyNode const node_a, BulletRigidBodyNode const node_b, Point3 const pivot_a, Point3 const pivot_b)
| BulletSphericalConstraint (BulletRigidBodyNode const node_a, Point3 const pivot_a)
Point3 | getPivotInA ()
Point3 | getPivotInB ()
| setPivotA (Point3 const pivot_a)
| setPivotB (Point3 const pivot_b)
## Static Public Member Functions
static TypeHandle | getClassType ()

## Detailed Description

A constraint between two rigid bodies, each with a pivot point.

The pivot points are described in the body's local space. The constraint limits movement of the two rigid bodies in such a way that the pivot points match in global space. The spherical constraint can be seen as a "ball and socket" joint.

## Constructor & Destructor Documentation

BulletSphericalConstraint | ( | BulletRigidBodyNode const | node_a,
|  | BulletRigidBodyNode const | node_b,
|  | Point3 const | pivot_a,
|  | Point3 const | pivot_b
| ) |  |

BulletSphericalConstraint | ( | BulletRigidBodyNode const | node_a,
|  | Point3 const | pivot_a
| ) |  |

## Member Function Documentation

static TypeHandle getClassType | ( |  | ) | `[static]`

Reimplemented from BulletConstraint.

Point3 getPivotInA | ( |  | ) |

Point3 getPivotInB | ( |  | ) |

setPivotA | ( | Point3 const | pivot_a | ) |

setPivotB | ( | Point3 const | pivot_b | ) |

All Classes Namespaces Functions Variables Enumerations Enumerator Properties