-- [ Picked text/plain from multipart/alternative ] Does the bolt disappear when it hits the wall or does it stay stuck there for about 2 seconds?
If it disappears try commenting this in that same else block //AddEffects( EF_NODRAW ); On 12/28/06, Gus <[EMAIL PROTECTED]> wrote: > > This is a cryptographically signed message in MIME format. > -- > This is a multi-part message in MIME format. > -- > [ Picked text/plain from multipart/alternative ] > Hi Joel, I gave this solution a try but didn't get results. here's what > I did...I also > increased the 10 to as high 19 but still no results. Though it did > compile well. > > **************************************** > if ( ( hitDot < 0.5f ) && ( speed > 100 ) ) > { > Vector vReflection = 2.0f * tr.plane.normal * hitDot + > vecDir; > > QAngle reflectAngles; > > VectorAngles( vReflection, reflectAngles ); > > SetLocalAngles( reflectAngles ); > > SetAbsVelocity( vReflection * speed * 0.75f ); > > // Start to sink faster > SetGravity( 1.0f ); > } > else > { > SetAbsOrigin( GetAbsOrigin() + tr.plane.normal * 10 ); > //YOUR SUGGESTION > SetThink( &CBowarrowBolt::SUB_Remove ); > SetNextThink( gpGlobals->curtime + 2.0f ); > ******************************************** > > Gus > -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders