There's a bunch of reasons it might not be getting set, to troubleshoot this check out CBaseEntity::ResolveFlyCollisionBounce(), where it does SetGroundEntity( pEntity).
Note that it checks trace.plane.normal.z to see if it's a flat surface, and checks if the entity velocity is less than 30 units/sec, and checks pEntity->IsStandable() before it sets teh FL_ONGROUND flag. On 2/7/07, Mark Gornall <[EMAIL PROTECTED]> wrote:
Hey, I'm trying to work with an HL2 entity that has movement type of SetMoveType( MOVETYPE_FLYGRAVITY, MOVECOLLIDE_FLY_BOUNCE ); but the FL_ONGROUND flag never gets set when the entity hits the ground (I'm checking GetFlags() & FL_ONGROUND) and I cannot see where or why it is wrong, just wondering if anyone has any idea. Thanks, r2. _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

