Hey, im having problems with opening and closing a door in blender…
I have a door, and an open Animation/Action, and a player (First Person)
I’ve been trying to have a near sensor, and a keyboard sensor, connected them to the “And” controller, and then i added the animation.
I’m a beginner, so if this is totally wrong then you know why x]
Anyone knows how to fix?
And also, adding locked doors that requires keys, would be awesome! x3
Are both sensors connected to controller and the controller connected to the actuator?
Is easier if you put a screenshot of the logic bricks to check everything
hit space
yes the object “switch” opens the door using any motion you define,
look at the logic code on switch, right now pressing space will open the door, or colliding with “PlayerGrab”
you can delete the hit space bar part,
create an item on another layer called “PlayerGrab” give this the property “PlayerGrab” as well make it ghost for now(to test it)
and then later make invisible
add a cube about where your players hand is in, set it to ghost and invisible