(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.