Frictional Games Forum (read-only)
using rotateProp on doorway - 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: using rotateProp on doorway (/thread-19931.html)



using rotateProp on doorway - darksky - 01-14-2013

hi
i wanted to make a rotatable room. but the doorway and doorframe won't rotate (at least not visible). (see here http://www.youtube.com/watch?v=I1UCwYde7rE )

i imported mesh in model editor, put some shapes around the mesh, created a body for each shape and attached the mesh to the body. for things with just one body , like walls, it works fine, but i guess i did a mistake with the frame and doorway ( because of multiple bodies? ).

how to do it right?

(screenshot of model editor: http://i.imagebanana.com/img/3ewecxgl/dthfdt.png)


RE: using rotateProp on doorway - The chaser - 01-14-2013

Hey, that's a quite interesting effect! Smile

Anyway: I've seen in the model editor that you have lots of bodies. Those bodies are just shapes that aren't added to any mesh, except Body2, which has all the model.

You can do complicated shapes and then make them fusioned:

Shape, shape, shape, select 'em all: Create body. In Outline, put the mesh in the body. Done!


RE: using rotateProp on doorway - darksky - 01-14-2013

thanks, everything is working fine now


RE: using rotateProp on doorway - The chaser - 01-14-2013

Just another thing: I saw that the button stays in it's place too. You could make the button a part of the room too and change the interaction to a Script Area. That way, the room would rotate and the button would move with the room.


RE: using rotateProp on doorway - darksky - 01-15-2013

yes, i know. it's just a test map Smile