Skip to content

Conversation

@SamuelMauricioL
Copy link

The respective changes were made with the syntax of dart sdk> = 2.12.0.

guide:
https://dart.dev/null-safety/migration-guide

Comment on lines +266 to +267
p.x! + p.vx! * ms;
p.y! + p.vy! * ms;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is preventing particles from moving

Suggested change
p.x! + p.vx! * ms;
p.y! + p.vy! * ms;
p.x = p.x! + p.vx! * ms;
p.y = p.y! + p.vy! * ms;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants