Frictional Games Forum (read-only)
[SCRIPT] [SOLVED] AddBodyForce doesn't work - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [SCRIPT] [SOLVED] AddBodyForce doesn't work (/thread-18182.html)

Pages: 1 2


RE: AddBodyForce doesn't work - Robby - 09-06-2012

(09-06-2012, 06:59 PM)Kiwi2703 Wrote:
(09-06-2012, 06:56 PM)Nemet Robert Wrote:
(09-06-2012, 06:52 PM)Kiwi2703 Wrote:
(09-06-2012, 06:44 PM)Kreekakon Wrote:
Code:
void AddPlayerBodyForce(float afX, float afY, float afZ, bool abUseLocalCoords);
It worked but I had to set the values to 10000.0f and higher... no idea why it wants so much power Huh
Many thanks anyways! Smile

Note that rather high values are needed when applying forces.

[align=start]
As said on the script functions page located on the wiki.
[/align]

Actually, on the scripts page were some really low values.. like 3.5f and such
You looked at the wrong part. It says right there (just look for the script function you had trouble with).