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 get_class_type() panda3d.core.TypeHandle
- get_pivot_in_a() panda3d.core.LPoint3
- get_pivot_in_b() panda3d.core.LPoint3
- set_pivot_a(pivot_a: panda3d.core.LPoint3)
Pivots
- set_pivot_b(pivot_b: panda3d.core.LPoint3)