Hello everyone!
I can not understand how to make a door that opens with two buttons. I want to do that i could clamp the door with “E”, and when I press “W”, door opened it, or “S” door closing. Does anyone have any ideas?
Its that much easy, that i dont know what exactly you want to make.
E - with that clamp you mean that doors are only half-opened? Or it means doors are locked/opened?
Its only about making 3 inputs (E/W/S), setting doors locations/rotations and some boolean variables if you want to do something more with doors…
If i misunderstand your question, let me know or sketch your problem and ill help you somehow.
Hi!
When player press E its just take a door handle. When press W door open, but door open only when you hold W, if you not hold W, the door stops. If you want, you can open door on half. The door like this more often using in scary game, when you need hiding from someone, and you need look out from shelter.
The door, that i want looks like this https://www.com/watch?v=pW6A7ItD6hE
**** i wrote it all but this forum deleted it… so very fast:
you need 3 boolean variables for each key, on pressed set true, on released false
set actor rotation in tick (door degrees), here you need another variable how much are doors opened, control each opening process with each bool variable…