View Single Post
Author Message
Starbish
AlliedModders Donor
Join Date: Oct 2011
Location: South Korea
Old 12-20-2017 , 11:25   sentry model weird issue (prop_physics_~)
Reply With Quote #1

video : https://youtu.be/k5s9mAqSy8E

I have a very weird issue. As you can see from video, it has weird physics.. it has no collide. i tried prop_physics_multiplayer and was not a solution too

I dont understand why it happens. it's from TF2 file itself and i tested this in CS:S, CS:GO too.

Same thing happens on those games too.

Any ideas would be appreciated.

Thank you.


Code
PHP Code:
int sentry CreateEntityByName("prop_physics_override");
        
DispatchKeyValue(sentry"model"TURRET_MODEL_PATH);
//        DispatchKeyValue(sentry, "spawnflags", "3");
        
DispatchKeyValueVector(sentry"origin"vecPointPos);
        
DispatchKeyValueVector(sentry"angles"vecUserAngle);
//        ActivateEntity(sentry);
//        AcceptEntityInput(sentry, "EnableMotion");

        
DispatchSpawn(sentry); 
__________________

Last edited by Starbish; 12-20-2017 at 11:31.
Starbish is offline