Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request Door Slowly Opens.
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#2
RE: Door Slowly Opens.

Use these functions to make the door open.

SetSwingDoorDisableAutoClose(string& asName, true);
SetSwingDoorClosed(string& asName, false, false);
AddPropImpulse(string& asName, float afX, float afY, float afZ, "World");

Fiddle with the float values to make the door open. Look at the door in your level editor. The blue line is the Z axis, the red line is the X axis. You'll probably not need any Y value (green line) unless you have a door leading through the roof or something weird like that.

07-30-2011, 10:04 PM
Find


Messages In This Thread
Door Slowly Opens. - by Angerpull - 07-30-2011, 09:42 PM
RE: Door Slowly Opens. - by palistov - 07-30-2011, 10:04 PM
RE: Door Slowly Opens. - by MrCookieh - 07-30-2011, 10:04 PM
RE: Door Slowly Opens. - by Kyle - 07-30-2011, 10:23 PM



Users browsing this thread: 2 Guest(s)