How sit down on copied chair
I am making sit down possibilities. And I ran into a problem. When I interact with first chair, character sit correctly. But, when I want to copy my chair blueprint. Then, I try to sit on second chair (copied). My character teleport on first chair.
I have node "Get All Actors of Class" and I try to get arrow from ChairBP. But It doesn't work. And, I don't understood why.
Help me please.
Do you see the "Get All Actors of Class" node and then the "Get" with 0 value? That means it will always get the "first chair" no matter what chair you approach. In UE4, "first chair" could be the first or the second chair. What you want is while querying all the chairs in the world, take note of their distance from your character and once you accounted all of them, choose the chair that is "closest" to your character.
EDIT: Below is an example:
I modified your system. I set "my closest chair" into Chair BP. It will help me to create different chairBP with the same possibilities
answered Jan 28 '19 at 05:33 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here