Looking for help learning ODE in DP
Looking for help learning ODE in DP
I've been trying to find examples on how to use ODE physics extension in Darkplaces and can't find any. Are there any resources or tutorials available anywhere?
-
- Posts: 1395
- Joined: Tue Feb 24, 2009 4:39 pm
- Location: Italy
Re: Looking for help learning ODE in DP
1)on Windows rename libode-3,dll to libode1.dll or it won't work.
2)After launch dp, check if ode physics is enabled (physics ode 1)
3)you can have a introduction reading here
4)switch to fte and start using REAL ode capabilities!
basically, on SSQC (dp doesn't have CSQC physics, fte does) you can do something likeplace your myphysent in your map about 60 units from above and it *SHOULD*, if I didn't commit any typo, fall on the ground.
In these days I should (hopefully) upload v0.2 version of fteskel which has working ODE ragdolls (yay )
##EDIT: ODE user guide
2)After launch dp, check if ode physics is enabled (physics ode 1)
3)you can have a introduction reading here
4)switch to fte and start using REAL ode capabilities!
basically, on SSQC (dp doesn't have CSQC physics, fte does) you can do something like
Code: Select all
void myphysent()
{
local entity e = spawn;
setmodel(e,"models/barrel.iqm");
setsize(e,'-32 -32 -64','32 32 64');
physics_enable (e,TRUE);
e.movetype = MOVETYPE_PHYSICS;
e.solid = SOLID_PHYSICS_BOX;
e.mass = 1.2;//1 should be the standard
}
In these days I should (hopefully) upload v0.2 version of fteskel which has working ODE ragdolls (yay )
##EDIT: ODE user guide
Meadow Fun!! - my first commercial game, made with FTEQW game engine
Re: Looking for help learning ODE in DP
Does model or map format matter with ODE?
Re: Looking for help learning ODE in DP
Thank you. It works. The renaming of the file is why it wouldn't work.
Trying to figure out joints and hinges and such now.
Trying to figure out joints and hinges and such now.