BulletSphericalConstraint
from panda3d.bullet import BulletSphericalConstraint
- class BulletSphericalConstraint
Bases:
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
- __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
- setPivotA(pivot_a: panda3d.core.LPoint3)
Pivots
- setPivotB(pivot_b: panda3d.core.LPoint3)