BulletSphericalConstraint

from panda3d.bullet import BulletSphericalConstraint
class BulletSphericalConstraint

Bases: BulletConstraint

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.

Inheritance diagram

Inheritance diagram of BulletSphericalConstraint

__init__(node_a: BulletRigidBodyNode, node_b: BulletRigidBodyNode, pivot_a: panda3d.core.LPoint3, pivot_b: panda3d.core.LPoint3)
__init__(node_a: BulletRigidBodyNode, pivot_a: panda3d.core.LPoint3)
static getClassType()panda3d.core.TypeHandle
getPivotInA()panda3d.core.LPoint3
getPivotInB()panda3d.core.LPoint3
property pivot_a → LPoint3

Getter Setter

Pivots

Pivots

property pivot_b → LPoint3

Getter Setter

setPivotA(pivot_a: panda3d.core.LPoint3)None

Pivots

setPivotB(pivot_b: panda3d.core.LPoint3)None