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
Door is not automatically opening!! D=
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#10
RE: Door is not automatically opening!! D=

(10-01-2011, 09:39 PM)Khyrpa Wrote: Umm... Yes when you don't use the dot. I'm not the best one to explain anything because I don't know what the f actually does. If
270
instead of
270.0f
are different in any way. But using f without the dot causes crash and not using f when using dot could too, dis is confusing...

The f after a decimal number (or integer) is there to tell the parser that you are specifying or passing in a float.

(10-01-2011, 09:39 PM)Statyk Wrote: I found out that the "SetSwingDoorDisableAutoClose" is set to true so the door won't auto-close when it's near the doorway, but the door still auto-shuts. Is that preventing the door from opening itself?

That wouldn't prevent the door from opening. Try having SetSwingDoorDisableAutoClose() come before SetSwingDoorClosed(). If that still doesn't work, try negative values for the prop force.

Tutorials: From Noob to Pro
10-01-2011, 10:18 PM
Website Find


Messages In This Thread
RE: Door is not automatically opening!! D= - by Your Computer - 10-01-2011, 10:18 PM



Users browsing this thread: 1 Guest(s)