Need a lot more information about your project to be able to give suggestions.I want to make a collision counter.
The object move automatically on a circular path and cross a line. I want to measure the object how many times cross the line.Need a lot more information about your project to be able to give suggestions.
What is the object colliding with? walls? other moving objects?
Which collision detection are you using, something like place_empty() or tile based?
What is the line? Is it an object? Is it just a visual draw_line()?The object move automatically on a circular path and cross a line. I want to measure the object how many times cross the line.
The line is also an object. It's a rectangle with a small thickness. I use place_meeting() collision checking.What is the line? Is it an object? Is it just a visual draw_line()?
What type of collision checking are you doing?
Is the circle always at the same xy? Couldn't you just add to the counter every time the objects xy reaches the same set position?