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);
__________________