Frictional Games Forum (read-only)
Binding objects to another? - 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: Binding objects to another? (/thread-5025.html)



Binding objects to another? - Neurological - 10-12-2010

It is possible to bind a static item (note "item" not object) to a submesh of another item?

Basicly I've a chessboard models, that is like a chest which can be opened, in order to make it open I have to put a queen piece on it. Now the chessboard is made of two submeshes, one is the moving part one is the fixed part. What I want to do is to make a static item to bind to the moving part so thats when moving the upper part also the he attacched object move with it.

I tried to look into the amnesia scripts, but it seems that almost everything is made by activating/deactivating models so I didn't see any of those functions.

Another question, it is possible to export a model with two sub textures and so two materials in the same model?