• Move object without seting position?
    3 replies, posted
Anyone know a way to move an entity/prop though code without actually setting its position as doing so will cause it to clip through things instead of push them. Kinda like how the phys gun can move object and push them, but the problem is I need to entity to stay still, it cannot move as its floating but when it is moved (say left or right) I need it to maintain the high no matter what but it needs to push anything in its way. I cannot really find a way to do this, thanks.
Problems That Don't Need Their Own Thread v5
Yeh im experimenting with shadows now, how ever I cannot disable gravity as the object is being used as kind of an elevator, meaning a player (or multiple) can stand on it as it rises. It works pretty well right now except every now and again and player will get stuck in the object as its rising and as a result fall thought the bottom. Is there any known way to combat this?
If the elevator is acting as a static lift, you can disable gravity and just do the movement yourself - otherwise, I would read into this page on using specific func_* entities as elevators. func_movelinear's especially have a lot of built-in safeguards to prevent players from getting stuck.
Sorry, you need to Log In to post a reply to this thread.