Thanks, works a charm!
I'm not sure if I have a clean way to trigger this since it's the server
that controls the rotation & the moment it should freeze, so I'd have
preferred something server-driven; but it does the trick! [ Right now I'm
setting a dummy var and calling the reset in the recvproxy :p ]
> It's using an interpolated variable ("m_iv_angRotation"). You can call
> "ResetInterpolatedAngles()" in C_BaseEntity after changing the angles to
> have it change instantly to the new value.
>
> [EMAIL PROTECTED] wrote:
>> Hi list,
>>
>> I got a basic question on how entities' orientations are applied.
>>
>> I've got a special grenade of which, when it detonates, I change the
>> model
>> and I set a certain fixed orientation. My problem is that there's some
>> interpolating mechanism somewhere, as just setting the AbsAngles
>> server-side causes the entity to take several frames rotating into
>> place,
>> where as I would want to apply this immediately. I've tried an ugly hack
>> by setting the same AbsAngles at the same time clientside, but I still
>> had
>> the effect. ( Extra info, when I switch to the new model I also switch
>> to
>> SetSolid( SOLID_VPHYSICS ) )
>>
>> Anyone here knows how to bypass the interpolating mechanism or where
>> it's
>> located?
>>
>> thanks in advance,
>>
>> Maarten
>>
>>
>> _______________________________________________
>> 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
>
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders