Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Enemy movement Proof Of Concept
#2
An accurate collision detection would be with: a for loop, an initial position and a final position
where, the for loop loops from the initial position to the final position and checks if there is an obstacle in between...
much similar to raycasting, do optimizing algorithms for this is the DDA.
You can use KeyUp = "W"... and reassign "s" -> "x" (or toggle with "e")
Reply


Messages In This Thread
Enemy movement Proof Of Concept - by ukdave74 - 06-02-2025, 10:55 PM
RE: Enemy movement Proof Of Concept - by aadityap0901 - 06-03-2025, 05:51 AM



Users browsing this thread: 1 Guest(s)