Frictional Games Forum (read-only)
How do you create an entity that collides? - 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: How do you create an entity that collides? (/thread-13286.html)



How do you create an entity that collides? - Mackiiboy - 02-12-2012

I'm almost done with my custom story and I'm creating a hidden "easter egg"-part in my story that leads to the world of "Legends of Zelda". Therefore, I've collected some Zelda models from Ocarina of Time and edited them in Maya, exported them as a .dae file and imported them to Amnesia with the ModelEditor.

[Image: Lmp7kbHcYZRk0D2U836PssTIQ.jpg]

The problem is that the entities do not collide, you can walk right trough them. I've tried with settings > User defined variables in ModelEditor to find some settings for this, but that does not seem to work for me.
I've compared with other entities in the ModelEditor and concluded that the other entities have a body, maybe that's the problem?

If ya know what to do, please comment Shy



RE: How do you create an entity that collide? - Your Computer - 02-12-2012

(02-12-2012, 08:39 PM)Mackiiboy Wrote: I've compared with other entities in the ModelEditor and concluded that the other entities have a body, maybe that's the problem?

Bingo.


RE: How do you create an entity that collide? - Unearthlybrutal - 02-12-2012

Make a body for it and make sure that the "CollideCharacter" is set to true Smile


RE: How do you create an entity that collide? - Mackiiboy - 02-12-2012

(02-12-2012, 08:40 PM)Your Computer Wrote:
(02-12-2012, 08:39 PM)Mackiiboy Wrote: I've compared with other entities in the ModelEditor and concluded that the other entities have a body, maybe that's the problem?

Bingo.
But how do ya create a body that has the same shape as the whole entity?




RE: How do you create an entity that collide? - Your Computer - 02-12-2012

(02-12-2012, 08:41 PM)Mackiiboy Wrote: But how do ya create a body that has the same shape as the whole entity?

You cover the mesh with shapes first.


RE: How do you create an entity that collide? - Mackiiboy - 02-12-2012

(02-12-2012, 08:47 PM)Your Computer Wrote:
(02-12-2012, 08:41 PM)Mackiiboy Wrote: But how do ya create a body that has the same shape as the whole entity?

You cover the mesh with shapes first.
Thanks. I'll try that Shy