Is it completely failing to find the "muzzle" attachment point? I know when
ever I run into a "WTF?" error it always seems to be something I'm assuming
like that, which actually isn't true.
Quoting Michael Kramer <[EMAIL PROTECTED]>:
> --
> [ Picked text/plain from multipart/alternative ]
> Im having some positioning troubles, where I want an effect to start from.
> It should shoot the effect from a start pos, to an end pos,
>
> The start pos is not working. I want it to shoot from the muzzle, to
> tr.endpos. So i have
>
> Vector startPos;
> QAngle angles;
> GetAttachment( LookupAttachment("muzzle"), startPos, angles );
>
> This should set startPos to the pos of the muzzle, but, it does not.
> In fact, it looks as iff it is shooting from my shoe, well a little bit more
> over , but down on the ground still.
>
> When I use, Vector vecSrc = pOwner->Weapon_ShootPosition(); It then
> shoots from the middle of the screen, instead of the muzzle.
>
> Any ideas on what im doing wrong? Or why it will not shoot from the muzzle?
>
> Thanks
>
> -Kramer
> --
>
> _______________________________________________
> 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