How do i make a Automatic swinging door?

How do i make a Automatic swinging door?

You need to give a bit ore detail than that.

  • 3D or 2D?
  • Top down, platform or isometric?
  • Simulated or with real physics?

Can you give an example of what you are thinking of?

1 Like

I making red ball and door game and play with mouse

how do I learn simulated or with real physics?

We need more details. Please explain what you want to happen.

For simulated, you could use tweens to open the door fully when triggered by a collision or if you want a slower movement like the door is being pushed slowly then logic like if in collision with door then increase/decrease the angle of the door.

For physics you could probably use a joint (Iā€™m not sure which type) and then the door would open when another object with the physics behavior collides with it. The physics behavior would handle the movement.

1 Like