So Ive looked at example groups in the editor but I cannot figure this out.. How do I make a joint open a door (swing back) when the rider enters? I have an area triggered physics event and a joint and the red circle thing but its just not happening.. I know nothing about making this work, just copied what I could see, or so I thought. Is something like this even possible? Oh I have a dummy object too, any ideas?
Two joints connected to two dummies on the door?
I dunno man ive got two joints one dummy and that makes the door open a peek, is that I guess? Ill try it..
More of a suggestion. I would do two dummies, one in each corner. If it only opens a peek, has to do with the joint limits. The joints are set to hinge right? Two on one dummy might be the problem cause
One physics joint in the middle should be fine just make it a rotational joint (set its rotational limits to whatever you need) and enable its angular motor (with settings you need to mimic the speed you want) then just activate the doors physics with a trigger when you want it to open
^^^^^Thsi.Originally Posted by oXCuBXo
Spawn a physics joint. Set type to turning hinges. Properties user defined. Collision disabled. Attatch Target 1 to your doorframe. Attatch Target 2 to your door. Go to angular settings. Then angular motor. Check the enabled box.
Spawn a physics event. Set the target as your door.
Spawn a trigger and set it to trigger the physics event.
This should make the door move. All that you now need to do is make it move "the right way". This will be done by selecting the Physics joint's pivot and rotating and placing it correctly. It should be aligned with the gap between the frame and the door. Then rotate it through experimentation to make the door rotate in the way you want.
Once this is done, you can access the angular motor settings to adjust the velocity at which it opens.
Small tip: Once the pivot is selected, double clicking the right stick will align the hinge with the driving line. This can be handy when doing certain other effects like a ramp, etc. Wont help with the door, but useful info for you!
Hope that makes sense and helps.
Sounds promising, its a hidden area by the way. Going to try it. Thanks guys.