I would prefer to activate a door with a key but only when the FP player is in front to trigger a door to open.
How do I go about that?
I have also purchased a copy of the Game Development book by Mike Pan on Amazon UK for reference, £17.50 like 22 Euros. I had wanted to purchase via the Blender shop but I wasn’t able to do so. More of a Thanks to Ton and his team for the software.
I’m not knowledgeable of any computer programming language, in 2013 I used a little of Visual Basic, but I don’t remember any of the code, I do have a print out on paper, and may be a backup in a notepad file. It was for Windows mobile 2002. A game, 2D Asteroids, it doesn’t even work properly, once the asteroids have been missed, the program must be closed for it to work all over again. LOL!
Thanks for posting that clip. But I don’t feel, that is a step for me just yet.
What I like to do is have an invisible collision box in front of my character’s point of view. When the door touches it and a button is pressed, the door opens. That way, I know the player is looking at the door and wants to interact with it. I’ll whip up my logic bricks in a moment…
EDIT: Gosh darn it… now it’s not working for me. I’ll get back to this comment once I have time to figure it out. Sorry about that.
the cube will be your actors physics bound, you add a rigged actor to the center of the cube (no collision) and parent him to the physics hit box then mark the actor invisible