(05-23-2014, 10:34 AM)Rowzter Wrote: Sorry for bumping this but when the door opens it glitches out from the door frame. is there a way to "slow the door down",
Though the bump was unnecessary and a new thread would have been better option, unless your door is placed incorrectly, it should be okay.
Regardless, the impulse of the door may be your problem, either by direction or that your impulse is a little too much. Assuming your using the same code as the OP, take a look at this line:
AddPropImpulse("NAMEOFYOURDOOR", 0, 0, 3, "world");
That 3 is the Z Coordinate, meaning the door will fling in that direction. Try making that a negative. So that it becomes -3.
AddPropImpulse("NAMEOFYOURDOOR", 0, 0, -3, "world");
If that doesn't work, try moving that 3 to the X coordinate. So it looks like this:
AddPropImpulse("NAMEOFYOURDOOR", 3, 0, 0, "world");
And of course, if that still doesn't work, try a negative three in the X. If it still glitches out, lower the three to a two. An impulse of three should work fine, but an impulse of 1 is not really noticeable. You shouldn't need to put it in the Y coordinate