Physics libraries in D

Jeremy DeHaan dehaan.jeremiah at gmail.com
Wed May 8 17:42:23 PDT 2013


On Wednesday, 8 May 2013 at 13:01:52 UTC, evilrat wrote:
> On Wednesday, 8 May 2013 at 09:43:43 UTC, Mike Parker wrote:
>> On Wednesday, 8 May 2013 at 09:37:51 UTC, KillerSponge wrote:
>>> Hi all,
>>>
>>> I've been searching around for physics libraries to use in a 
>>> real-time 3D application (a game, to be more precise). I know 
>>> that Bullet and ODE are the big open source ones for C/C++, 
>>> and I get the general impression that Bullet is currently 
>>> taking the lead in terms of performance, precision, 
>>> maintenance and community adaptation.
>>>
>>> However, I have only been able to find ODE bindings for D (in 
>>> Derelict), and what seems to be an abandoned effort to port 
>>> Bullet to D. Are there no working bindings for Bullet in D?
>>
>> Last I checked, Bullet doesn't have a C interface. That means 
>> it's unlikely you'll find a D binding. And I haven't heard of 
>> any.
>
> currently Bullet has *very* limited C API. for simple cases it 
> may be enough, but for a game...

You could do something kind of like what SFML did for its CSFML 
version to make a C version of the API, but that would probably 
take a while.


More information about the Digitalmars-d-learn mailing list