Frictional Games Forum (read-only)
Creating a Joint on a Screwdriver... - 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: Creating a Joint on a Screwdriver... (/thread-16770.html)



Creating a Joint on a Screwdriver... - SonOfLiberty796 - 07-06-2012

So I am having a bit of trouble understanding how to create a joint on a screwdriver that I'm using in my story (The screwdriver from White Night/Penumbra (as it says in Tanshaydar's disclaimer). I tried to make it act like a crowbar (ether breaking a door if necessary (like the crowbar) or (something new) picking a lock. Both of those is what I'm trying to do with the screwdriver).

However, when I added the joint onto the end of the screwdriver and tried to use it on my map, it gave me an error (A blackbox error). Then, when I removed the joint screwdriver, it worked perfectly fine.

What am I doing wrong? Is there something complicated I need to do? (Noob to modeling, here)


RE: Creating a Joint on a Screwdriver... - Your Computer - 07-06-2012

Screw joints aren't supported; use hinge joints instead.


RE: Creating a Joint on a Screwdriver... - SonOfLiberty796 - 07-06-2012

(07-06-2012, 03:33 AM)Your Computer Wrote: Screw joints aren't supported; use hinge joints instead.
That is what I'm using. I never even heard of screw joints :p


RE: Creating a Joint on a Screwdriver... - SilentStriker - 07-06-2012

Joints needs to be connected to both a parent and a child body to work Smile


RE: Creating a Joint on a Screwdriver... - SonOfLiberty796 - 07-06-2012

(07-06-2012, 07:11 AM)SilentStriker Wrote: Joints needs to be connected to both a parent and a child body to work Smile
Ohhh it does? Well.... I don't even know how to do that -.- just great for me lol.

I don't even know what a child and parent body are! I'm such a noob here...


RE: Creating a Joint on a Screwdriver... - SilentStriker - 07-06-2012

The body is the green geometric shape you apply in the model editor so you are able to grab the screwdriver Wink Parent and child body is 2 different bodies that you in the joint options you add the body of your choice as the parent and the other body as your child, I think YourComputer can explain this a bit better than me ^^


RE: Creating a Joint on a Screwdriver... - SonOfLiberty796 - 07-06-2012

(07-06-2012, 07:24 AM)SilentStriker Wrote: The body is the green geometric shape you apply in the model editor so you are able to grab the screwdriver Wink Parent and child body is 2 different bodies that you in the joint options you add the body of your choice as the parent and the other body as your child, I think YourComputer can explain this a bit better than me ^^
Ok I understand the first sentence... as for the parent and child body thing... huh? :p


RE: Creating a Joint on a Screwdriver... - Your Computer - 07-06-2012

(07-06-2012, 07:24 AM)SilentStriker Wrote: I think YourComputer can explain this a bit better than me ^^

Hmm. I would rather link him to http://wiki.frictionalgames.com/hpl2/tools/editors/model_editor/joints and hope that he gets it.


RE: Creating a Joint on a Screwdriver... - SonOfLiberty796 - 07-07-2012

(07-06-2012, 09:30 PM)Your Computer Wrote:
(07-06-2012, 07:24 AM)SilentStriker Wrote: I think YourComputer can explain this a bit better than me ^^
Hmm. I would rather link him to http://wiki.frictionalgames.com/hpl2/tools/editors/model_editor/joints and hope that he gets it.
Alright, I get onto reading that then Smile

If I still don't get it... well I'll just do it a "ghetto" way.


RE: Creating a Joint on a Screwdriver... - SonOfLiberty796 - 07-09-2012

Well I didn't really understand much of the link...

HOWEVER, I managed to make the joint work! Now the screwdriver_joint entity is working as it should and is good to go Smile

How I did it was I looked at the crowbar_joint's work and pretty much copied the same thing onto my screwdriver_joint entity options. There were only 1 or 2 changes I made, for my preference (like the Min/Max angle), but that is all, and it worked!