Sanjay
Sanjay

Reputation: 31

How do i show widget when look at object unreal?

I want to show the widget when player look at tht object, when player look other side widget has to disapper, how do i achieve that in unrea ngine

Upvotes: 1

Views: 443

Answers (2)

Yuuki
Yuuki

Reputation: 121

You can use the function "Find Look at Rotation" so then you can compare the player actual rotation with that rotation, so it will be less expensive than a line trace for example

Upvotes: 1

P. Olsson
P. Olsson

Reputation: 79

You would use a line trace similar to this article.

Upvotes: 1

Related Questions