Frictional Games Forum (read-only)
[Request/Help] Making a Bridge that Lowers/Rises - 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: [Request/Help] Making a Bridge that Lowers/Rises (/thread-9233.html)



[Request/Help] Making a Bridge that Lowers/Rises - Linus Ågren - 07-18-2011

So I want to make a bridge (using 2 objects from Amnesia) that will rise from a wall like this:

http://img197.imageshack.us/img197/4871/bridge01.jpg
http://img26.imageshack.us/img26/1862/bridge02.jpg
http://img695.imageshack.us/img695/3334/bridge03d.jpg

How is this done? Do I have to create a model that works as a door or something? If so, how is it done?

Thanks in advance Smile


RE: [Request/Help] Making a Bridge that Lowers/Rises - Roenlond - 07-18-2011

If the top part is stuck somehow but the rest isn't, perhaps you could use some force to raise the bridge and then make it a static entity once it reaches it's full position (by creating a collision callback at the very end)?


RE: [Request/Help] Making a Bridge that Lowers/Rises - Linus Ågren - 07-18-2011

Could you explain a bit more in detail what you mean? I'm not too experienced with this kind of stuff. ^^


RE: [Request/Help] Making a Bridge that Lowers/Rises - nemesis567 - 07-18-2011

Create a new movable entity that uses rotation axis X/Z(depending in your case) and then do as you usually do to move something-