How this sample should interact with user

Hello all,

Pls could someone to explain me how this project should interact with a user.

https://playcanvas.com/project/363871/overview/tutorial-hinge-joint

Many thanks for help.

Hi @Ivan_Stratiichuk,

Could you be more specific? Right now the door will open when the user tries to move through it, by pushing it. What further interaction are you looking for?

This sample do not react to any my touch to a screen…

Yes, because it implements only mouse and keyboard events, it isn’t programmed to be played on mobile/touch screen.

Check the movement code: https://playcanvas.com/editor/code/363871/first_person_movement.js

Is it exist any sample where the door could be opened by touching at a screen!?

I am not aware of a sample that does that to the book, so you will have to study some tutorials first on how to do that.

Start with the user interaction: https://developer.playcanvas.com/en/tutorials/?tags=input