Home | Tutorials | Wiki | Issues
Ask Your Question
0

Keep door closed until handle is turned

asked 2016-12-12 08:31:11 -0500

snakeplisk gravatar image

I am looking for a door model that will not open until the handle is turned.

At present I have tried the hinged_door and heavy_door models from the database and they can just be pushed open regardless of the state of the handle.

Can someone please direct me to a model/ world file that achieves this? Or can it be done with the existing models and am I doing something wrong?

edit retag flag offensive close merge delete

Comments

1

You could modify the existing models with a model plugin which implements the behaviour you want. I imagine someone might have done this before...

chapulina gravatar imagechapulina ( 2016-12-12 10:28:56 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-12-13 15:22:17 -0500

Chapulina has suggested a model plugin, which is definitely a good choice. Or, just make the latch mechanically! Unless you'd rather write code to do it, I a simple mechanical latch would be easy. Take advantage of the fact that you have real physics

edit flag offensive delete link more

Comments

Thanks Peter, I will try both of those options.

snakeplisk gravatar imagesnakeplisk ( 2016-12-14 02:36:52 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-12-12 08:31:11 -0500

Seen: 89 times

Last updated: Dec 13 '16