Code center > Darwinbots3
2D or 3D?
Numsgil:
I think I'm just going to make my own physics engine, but do it like the current version where it's all spring based. It's not a great solution, but it's easy to set up quickly and I can wash my hands of the whole affair until I can stomach playing with physics more in depth. Plus, it'll be easier to leverage broad and narrow phase collision detection for things like vision if it's built with that in mind, instead of trying to leverage an existing library in.
Numsgil:
I also think I'm going to use isosceles trapezoids at first, instead of capsules. It makes for much easier calculations. And the two are very close in shape (the trapezoid will overestimate the size on the caps of the capsule essentially).
Cyberduke:
--- Quote from: Numsgil ---I also think I'm going to use isosceles trapezoids at first, instead of capsules. It makes for much easier calculations. And the two are very close in shape (the trapezoid will overestimate the size on the caps of the capsule essentially).
--- End quote ---
Now that sounds like a plan...
You don’t have to hit upon the perfect solution first time around, just implement something and play around with it. I like this idea as it keeps everything simple for now. And it’s even something I could live with long term.
Polygon_Capsules
[attachment=1028:Polygon_Capsules.png]
bacillus:
I think that would look cool, especially with some sort of interpolate draw mode where the bots and multibots could be drawn smoothly as one big shape (optional, of course, else it would be too memory-consumptive.)
Numsgil:
Hmm... octagons would work pretty well actually.
Quick point: both ends don't have to be the same size (I'm trying out my wacom tablet, which I still haven't gotten the hang of):
[attachment=1031:Capsule.png]
So you could make something like this:
[attachment=1032:Eye.png]
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version