How to make a door open when player touches door?

how? please help please

Hi @sholola,

You can use a trigger to detect when the player approaches the door, check this tutorial:

Collision and Triggers | PlayCanvas Developer Site

From there you can rotate the door entity using the following method:

1 Like

I find it difficult understanding triggers even with the tutorial

@Brent_Reddick @sholola I see both are having some troubles understanding collision and how to detect. This video, although it is a bit dated, covers this topic nicely and should show you visually how this works and a bit of scripting.

We have two topics with a very similar title submitted by each. During the submittal of questions please use the prompt to the right when filling out your topic which will show you possibly others that submitted the same question but maybe worded a bit differently. Try to do some research on your topic before submitting a forum question. This forum has built a very good library of user questions and solutions.

There is a great group of individuals which belong to the forum and they are always willing to help where they can.