Code center > Darwinbots3

Darwinbots 3 Progress

<< < (14/18) > >>

bacillus:
Well, maybe I should just write the code first to actually get something running...
 

bacillus:
Okay, while I'm trying to fix TortoiseSVN, does anyone know if velocity and angular velocity have already been implemented in the Body class? I could write the movement system, it's extremely trivial, but I want to make sure it's not handled somewhere else.

Numsgil:
Look in PointMass.cs.

Basically the Body class is a pretty thin wrapper taht combines the ideas of collision shapes (the shape list), and a point mass (which it inherits from).  Where a point mass is something with heft and inertia but without any physical bounds.

Numsgil:
If you have source code type questions, log on to chat.darwinbots.com.  It's an http chat room I set up for this sort of thing.  I'm usually logged in, and I can give you real time feedback on various source-y type things.

jknilinux:
IMO, it looks like you're going for an unnecessary level of realism. I'd prefer having an unrealistic method of dealing with collisions and get a slightly faster simulation. For example, the slideshow discussed dealing with negative impulses. I wouldn't mind having negative impulses in a simulation if it makes it faster.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version