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
-
CollisionParabola(void)
-
explicit CollisionParabola(LParabola const ¶bola, PN_stdfloat t1, PN_stdfloat t2)
Creates an invalid parabola.
Creates a parabola with the endpoints between t1 and t2 in the parametric space of the parabola.
-
static TypeHandle get_class_type(void)
-
PN_stdfloat get_t1(void) const
Returns the starting point on the parabola.
-
PN_stdfloat get_t2(void) const
Returns the ending point on the parabola.
-
void set_t1(PN_stdfloat t1)
Changes the starting point on the parabola.
-
void set_t2(PN_stdfloat t2)
Changes the ending point on the parabola.
-
CollisionParabola(void)