Python Forum
Position after given movements
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Position after given movements
#4
I don't like your logic. Why don't you use just 3 variables reflecting the 3 dimensions, rather than 6? Would it not make sense that LeftRight could be incremented if turn right, decremented if turn left, rather than using the difference between the 2?
Reply


Messages In This Thread
Position after given movements - by SantiagoPB - Apr-18-2021, 07:22 PM
RE: Position after given movements - by Larz60+ - Apr-18-2021, 08:43 PM
RE: Position after given movements - by SantiagoPB - Apr-18-2021, 08:47 PM
RE: Position after given movements - by jefsummers - Apr-19-2021, 05:46 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020