OpenArena Message Boards

OpenArena Contributions => Development => Topic started by: DieparBaby on February 20, 2007, 02:59:57 PM



Title: No FL_ONGROUND? What then?
Post by: DieparBaby on February 20, 2007, 02:59:57 PM
I'm converting some Quake 1 code to Quake 3 code and I've run into a problem.  I want to be able to tell if an entity (gentity_t) is on the ground but Quake 3 doesn't seem to have a FL_ONGROUND flag.  I need to know this is in order to determine whether or not I should add velocity to an entity.  How do I determine whether or not an entity is on the ground?

Sincere thanks,
DieparBaby


Title: Re: No FL_ONGROUND? What then?
Post by: Blaenk on February 20, 2007, 04:02:08 PM
I'm not really sure, so don't get mad at me if I'm wrong :( But I think there's stuff like that in the PMF_ defines or whatever, search for PMF_DUCKED for example.


Title: Re: No FL_ONGROUND? What then?
Post by: DieparBaby on February 21, 2007, 09:25:39 AM
There is MFL_ONGROUND but it looks like its only for bots.  I need a way to determine whether any entity is on the ground.