Frictional Games Forum (read-only)
Making a tree fall? - 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 (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Making a tree fall? (/thread-6791.html)



Making a tree fall? - Linus Ågren - 03-05-2011

Well, I was wondering on how you make a tree fall, like outside the Study.
I've checked the script in Amnesia but it doesn't work. Tongue


RE: Making a tree fall? - Tanshaydar - 03-05-2011

Check the properties of the tree inside the editor too.


RE: Making a tree fall? - Linus Ågren - 03-05-2011

I did but the settings were the same.


RE: Making a tree fall? - Selyp - 03-05-2011

(03-05-2011, 01:05 PM)junkfood2121 Wrote: I did but the settings were the same.

I think there is a special tree in the gameplay tab of the entities that is called tree_falling or something like that.


RE: Making a tree fall? - Linus Ågren - 03-05-2011

Yeah, that's the one I'm using =/


RE: Making a tree fall? - Viperdream - 03-22-2011

If you are still wondering about it, this is what you need: (I just found it out)

Code:
SetPropStaticPhysics("falling_tree_1", false);
AddPropForce("falling_tree_1", 1000, 0,0, "world");