Box and Pixel Collisions pkg
#3
Well I am glad someone looked at it.

@TempodiBasic what did you think of the revised Spiders that turn away when colliding instead of both spiders reversing directions. 

Actually I should get the spider clear of the collision and then reverse it or turn it. That would likely solve the original problem with reversing both spiders. If they aren't clear of each other they will reverse direction again and come together and collide again... thus getting stuck. The same goes for balls colliding with walls, just changing direction works but it is inaccurate. It should be backed up to point of collision and then direction changed.
b = b + ...
Reply


Messages In This Thread
Box and Pixel Collisions pkg - by bplus - 01-28-2023, 08:54 PM
RE: Box and Pixel Collisions pkg - by bplus - 01-30-2023, 04:40 PM
RE: Box and Pixel Collisions pkg - by OldMoses - 02-03-2023, 12:19 PM
RE: Box and Pixel Collisions pkg - by bplus - 02-03-2023, 02:47 PM
RE: Box and Pixel Collisions pkg - by madscijr - 02-02-2023, 05:49 PM
RE: Box and Pixel Collisions pkg - by bplus - 02-02-2023, 06:21 PM
RE: Box and Pixel Collisions pkg - by madscijr - 02-02-2023, 06:36 PM
RE: Box and Pixel Collisions pkg - by OldMoses - 02-03-2023, 05:54 PM
RE: Box and Pixel Collisions pkg - by bplus - 02-03-2023, 08:13 PM
RE: Box and Pixel Collisions pkg - by OldMoses - 02-03-2023, 10:10 PM
RE: Box and Pixel Collisions pkg - by bplus - 02-04-2023, 12:12 AM



Users browsing this thread: 5 Guest(s)