cancelThrustRots()

Cancels all currently active thrust rotations on the element on which this method is called. >> More on Thrusts in the class reference.

<camera>.cancelThrustRots()
<sprite>.cancelThrustRots()
<tag>.cancelThrustRots()

In Context

def onSetup(self):
    self.camera.thrustRot(Thrust(0.0, 0.0, 10.0))
    self.camera.cancelThrustRots()
s = ASpriteClass(self, 'sprite1')
s.thrustRot(Thrust(45.0, 0.0, 0.0))
s.cancelThrustRots()
t = ATagClass(self, 'tag1')
t.thrustRot(Thrust(0.0, 30.0, 0.0))
t.cancelThrustRots()
Initiated by Stephan Hechenberger
Thanks to CADRE's 103