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
--
[ 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
--
[ 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
--
[ 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
--
[ 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
: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
] 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
7 matches
Mail list logo