We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Because Kivy uses its built-in Vector class, vectors such as
from .vector import Vector vector = Vector(0, 0) vector = vehicle.pos + another_vehicle.pos vector = vector.truncate(10) >>> AttributeError: 'Vector' object has no attribute 'truncate'
fail. This can be fixed by constructing the extended Vector class again:
from .vector import Vector vector = Vector(0, 0) vector = vehicle.pos + another_vehicle.pos vector = Vector(*vector).truncate(10)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Because Kivy uses its built-in Vector class, vectors such as
fail. This can be fixed by constructing the extended Vector class again:
The text was updated successfully, but these errors were encountered: