Thread: Entity touch
View Single Post
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 09-15-2016 , 18:01   Re: Entity touch
Reply With Quote #2

Replace:
PHP Code:
set_pev(entitypev_originposition
to:
PHP Code:
engfunc(EngFunc_SetOriginentityposition
This updates entity origin for the physics engine. (re-links entity)

Another way you can move:
PHP Code:
set_pev(entitypev_originposition
Before:
PHP Code:
engfunc(EngFunc_SetSizeentityminsmaxs
Because SetSize also re-links entity.
__________________

Last edited by PRoSToTeM@; 09-15-2016 at 18:15.
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@