Frictional Games Forum (read-only)
[MDL ED] Modify crib AMFP model to be "rockable" - 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: [MDL ED] Modify crib AMFP model to be "rockable" (/thread-25323.html)



Modify crib AMFP model to be "rockable" - snakebyte - 05-19-2014

I want to import the crib AMFP entity into my CS.

I would modify the crib's body to be "rockable" but i can't. I tried to put a cylinder collision box under the crib but obviously it doesn't work. The cylinder in the model editor can't be streched.

If needed I don't know how to modify the physics properties.

Someone can help me? Maybe is this physics behavior impossible in HPL2 engine?


RE: Modify crib AMFP model to be "rockable" - Mudbill - 05-19-2014

It should be fairly possible, but you need to create several bodies and connect them with joints. The bodies must also be attached to the different submeshes in the crib. Considering the crib already rocks, I'm guessing it already has submeshes.

I can't tell you exactly what to do because I'd need to try it myself. There are many settings you can do with joints, so experiment. Perhaps a JointHinge at the bottom of the rocking crib could work.