How open door on clicking on door handle?

I want to open my car’s door when my first person click on door’s handle like clicking on button and I also want give specific distance. I have Used raycast but its not working.

Raycast is the right way to do it. If you could share your code, we might be able to help you fix it.

–

1 Answer

1

You do rigged your car door and then use Script of Apartment Scene Demo by unity

This is not a good answer, it basically makes no sense at all. Please provide a more clear definition of your suggestion, or convert this to a comment so the OP can get an actual answer.

–