direct.interval.ProjectileInterval

from direct.interval.ProjectileInterval import ProjectileInterval

ProjectileInterval module: contains the ProjectileInterval class

Inheritance diagram

digraph inheritancec0fb44000e { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DirectObject" [URL="direct.showbase.DirectObject.html#direct.showbase.DirectObject.DirectObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="This is the class that all Direct/SAL classes should inherit from"]; "Interval" [URL="direct.interval.Interval.html#direct.interval.Interval.Interval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="Interval class: Base class for timeline functionality"]; "DirectObject" -> "Interval" [arrowsize=0.75,style=""]; "ProjectileInterval" [URL="direct.interval.ProjectileInterval.html#direct.interval.ProjectileInterval.ProjectileInterval",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="ProjectileInterval class: moves a nodepath through the trajectory"]; "Interval" -> "ProjectileInterval" [arrowsize=0.75,style=""]; }
class ProjectileInterval(node, startPos=None, endPos=None, duration=None, startVel=None, endZ=None, wayPoint=None, timeToWayPoint=None, gravityMult=None, name=None, collNode=None)[source]

Bases: Interval

ProjectileInterval class: moves a nodepath through the trajectory of a projectile under the influence of gravity

gravity = 32.0
notify = <direct.directnotify.Notifier.Notifier object>
projectileIntervalNum = 1