ComputeShadowControl outside of entitys script?

I need to make a smooth transition from one vector to another, and angle, but to a random entity which code I can’t access. I noticed there is such a thing as **[PhysObj.ComputeShadowControl

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=PhysObj.ComputeShadowControl)**, but it needs to be called in physics simulate and the entity needing this could be of any kind. How can I use that in non-entity’s script?

Or should I try to code my own transition algorithm?

You can call it in a think hook.

Oh, thanks gonna try it.