ENTRY | DOWNLOAD | MANUAL | ONGOING | |
cancelThrustOrbits()Cancels all currently active thrust orbits on the element on which this method is called. >> More on Thrusts in the class reference.
<camera>.cancelThrustOrbits()
<sprite>.cancelThrustOrbits() <tag>.cancelThrustOrbits()
In Contextdef onSetup(self): self.camera.thrustOrbit(Thrust(0.0, 180.0, 0.0)) self.camera.cancelThrustOrbits() s = ASpriteClass(self, 'sprite1') s.thrustOrbit(Thrust(45.0, 0.0, 0.0)) s.cancelThrustOrbits() t = ATagClass(self, 'tag1') t.thrustOrbit(Thrust(0.0, 30.0, 0.0)) t.cancelThrustOrbits() |
|
Initiated by Stephan Hechenberger Thanks to CADRE's 103 |