I wonder if anyone knows how to implement so my snake move smoother?
I have tried to use smoothmover but haven't succeeded making it work.
This is a link to my scenario.
http://www.greenfoot.org/scenarios/6712
The smoothmover class does fine when working with one single actor; but when using multiple actors (as with a snake's segments), it would probably require taking the distance between each pair of joined segment and subtracting a specific gap between the two segments, turn the aft segment toward the fore segment and move it the remaining distance. Actually, being the fore segment will have already been moved, you will have to pass where it started (saving that location before it moves) to the aft segment so it could turn and move toward that location.