Re: [hlcoders] Back from FollowEntity

2007-12-12 Thread Garry Newman
Is it asleep? Does it resume moving if you bump into it or throw another item at it? garry On Dec 12, 2007 6:07 PM, Janek [EMAIL PROTECTED] wrote: -- [ Picked text/plain from multipart/alternative ] Hi, I am encountering a weird problem using FollowEntity. My mod is HL2MP based and is

Re: [hlcoders] Back from FollowEntity

2007-12-12 Thread Janek
-- [ Picked text/plain from multipart/alternative ] No it isn't asleep. And you can bump on it to make it going away but it is moving without and gravity floooaaatttiinnnggg in the air and colliding on walls and ground. 2007/12/12, Garry Newman [EMAIL PROTECTED]: Is it asleep? Does it resume

Re: [hlcoders] Back from FollowEntity

2007-12-12 Thread Paul Peloski
-- [ Picked text/plain from multipart/alternative ] IPhysicsObject *phys= VPhysicsGetObject(); phys-EnableMotion( true ); phys-EnableGravity( true ); phys-EnableCollisions( true ); phys-Wake(); One of those should do it, taken from some old hl2ctf code that moved the flag from a bonmerge follow

Re: [hlcoders] Back from FollowEntity

2007-12-12 Thread Janek
-- [ Picked text/plain from multipart/alternative ] Paul, Thank you very much. It is working very well. Now I have gravity. But I now encoutered another weird problem (it was also accuring before I tried your code). Here is the problem: it is like the flag is not at the position I am when

Re: [hlcoders] Back from FollowEntity

2007-12-12 Thread Paul Peloski
-- [ Picked text/plain from multipart/alternative ] #include player_pickup.h flag-Teleport( desired_origin, desired_angles, NULL ); Pickup_OnAttemptPhysGunPickup( flag, player, PICKED_UP_BY_CANNON ); physcannon-AttachObject( flag, desired_origin ); Try that.. I think it fixed the issue but I

RE: [hlcoders] Back from FollowEntity

2007-12-12 Thread Jay Stelly
:51 PM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Back from FollowEntity -- [ Picked text/plain from multipart/alternative ] #include player_pickup.h flag-Teleport( desired_origin, desired_angles, NULL ); Pickup_OnAttemptPhysGunPickup( flag, player, PICKED_UP_BY_CANNON

Re: [hlcoders] Back from FollowEntity

2007-12-12 Thread Janek
] On Behalf Of Paul Peloski Sent: Wednesday, December 12, 2007 1:51 PM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Back from FollowEntity -- [ Picked text/plain from multipart/alternative ] #include player_pickup.h flag-Teleport( desired_origin, desired_angles, NULL