Looking for help learning ODE in DP
Moderator: InsideQC Admins
4 posts
• Page 1 of 1
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?
-

Error - InsideQC Staff
- Posts: 865
- Joined: Fri Nov 05, 2004 5:15 am
- Location: VA, USA
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 like
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
- toneddu2000
- Posts: 1352
- Joined: Tue Feb 24, 2009 4:39 pm
- Location: Italy
Re: Looking for help learning ODE in DP
Does model or map format matter with ODE?
-

Error - InsideQC Staff
- Posts: 865
- Joined: Fri Nov 05, 2004 5:15 am
- Location: VA, USA
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.
-

Error - InsideQC Staff
- Posts: 865
- Joined: Fri Nov 05, 2004 5:15 am
- Location: VA, USA
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest