CollisionParabola
from panda3d.core import CollisionParabola
- class CollisionParabola
Bases:
CollisionSolid
This defines a parabolic arc, or subset of an arc, similar to the path of a projectile or falling object. It is finite, having a specific beginning and end, but it is infinitely thin.
Think of it as a wire bending from point t1 to point t2 along the path of a pre-defined parabola.
Inheritance diagram
- __init__(*args, **kwargs)
- getClassType()
C++ Interface: get_class_type()
- getParabola()
C++ Interface: get_parabola(CollisionParabola self)
- /**
Returns the parabola specified by this solid.
*/
- getT1()
C++ Interface: get_t1(CollisionParabola self)
- /**
Returns the starting point on the parabola.
*/
- getT2()
C++ Interface: get_t2(CollisionParabola self)
- /**
Returns the ending point on the parabola.
*/
- get_class_type()
C++ Interface: get_class_type()
- get_parabola()
C++ Interface: get_parabola(CollisionParabola self)
- /**
Returns the parabola specified by this solid.
*/
- get_t1()
C++ Interface: get_t1(CollisionParabola self)
- /**
Returns the starting point on the parabola.
*/
- get_t2()
C++ Interface: get_t2(CollisionParabola self)
- /**
Returns the ending point on the parabola.
*/
- parabola
- setParabola()
C++ Interface: set_parabola(const CollisionParabola self, const LParabolaf parabola)
- /**
Replaces the parabola specified by this solid.
*/
- setT1()
C++ Interface: set_t1(const CollisionParabola self, float t1)
- /**
Changes the starting point on the parabola.
*/
- setT2()
C++ Interface: set_t2(const CollisionParabola self, float t2)
- /**
Changes the ending point on the parabola.
*/
- set_parabola()
C++ Interface: set_parabola(const CollisionParabola self, const LParabolaf parabola)
- /**
Replaces the parabola specified by this solid.
*/
- set_t1()
C++ Interface: set_t1(const CollisionParabola self, float t1)
- /**
Changes the starting point on the parabola.
*/
- set_t2()
C++ Interface: set_t2(const CollisionParabola self, float t2)
- /**
Changes the ending point on the parabola.
*/
- t1
- t2