UE4 Tutorial: Detect if an Actor is on screen.

UE4 Tutorial: Detect if an Actor is on screen.

Jack Goddard

3 года назад

10,533 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@GameDevAraz
@GameDevAraz - 08.01.2022 06:52

Thanks, Great tut

Ответить
@SuperGotgames
@SuperGotgames - 19.01.2022 18:44

Wow that’s great you have this version of 1st person or third person ? Or will it work for those as is.

Ответить
@TheDirect25
@TheDirect25 - 02.03.2022 17:23

Thanks men !

Ответить
@Cloroqx
@Cloroqx - 13.03.2022 02:54

Thanks a bunch, mate!

Ответить
@Jamdre1234
@Jamdre1234 - 31.03.2022 02:40

Hi there just leaving an FYI incase anyone else ends up here trying to do the same thing I was. This method will only work from this type of top down perspective in an open area. If you have any type of object blocking the actor from the camera this will still return true. A way to circumvent this is to use the wasActorRecentlyRendered function instead. This actively updates depending on if the actor has been rendered instead of comparing screenspace coordinates to the actors location.

Ответить
@StevenDiLeo
@StevenDiLeo - 02.04.2022 06:41

Awesome!

Ответить
@grothjacky
@grothjacky - 21.04.2022 21:44

thank you very much! also i saw your game in a compilation of "indie games you might have missed" or something like that. really cool!

Ответить
@wolfboos
@wolfboos - 11.05.2022 02:13

Thank you so much!

Ответить
@JonoJamesJonoJames
@JonoJamesJonoJames - 03.06.2022 02:37

Thanks ,
needed it to complete a hud component.

Ответить
@aloneinmyworld3326
@aloneinmyworld3326 - 25.06.2022 12:53

Audio have very low volume why?
Implementation is sadly wrong. Actors have some volume so you have to also consider the size of actor because you will mark him as offscreen but he is still partially visible. Bigger actor in scene - more of him you will see even his locatation vector is off screen.
Also this is just single player check what you are doing sadly.

Ответить
@roc6457
@roc6457 - 26.06.2022 12:27

Genius

Ответить
@crznick
@crznick - 15.10.2022 18:42

Thanks a lot, you really save me!

Ответить
@unrealengineruseng9583
@unrealengineruseng9583 - 08.01.2023 17:04

Cool, it work !)))
THANK YOU !

Ответить
@ReplicatedYT
@ReplicatedYT - 03.05.2023 16:18

This worked for me in first person, i was also able to convert it to mutliplayer, thanks a bunch

Ответить
@ArtificialSoulsStudio
@ArtificialSoulsStudio - 07.06.2023 12:43

Thank you. Helped a lot

Ответить
@David_Fernandez
@David_Fernandez - 26.07.2023 00:17

Great! Is it possible to do the same for a VR headset view? Thanks

Ответить
@sebastianozezza6716
@sebastianozezza6716 - 12.10.2023 15:14

can we do the same thing but with a box on the screen that say true whane the player is in that space?

Ответить
@freedomofspeech2100
@freedomofspeech2100 - 24.01.2024 12:04

thanks :)

Ответить
@rifat.ahammed
@rifat.ahammed - 24.01.2024 13:21

great

Ответить
@ejiasidaniel2183
@ejiasidaniel2183 - 09.02.2024 02:48

Nice tutorial man...how do you detect if an object is moving?

Ответить
@Lars-gu3wi
@Lars-gu3wi - 26.06.2024 18:41

great and quick tutorial, thx

Ответить
@josephclarke2422
@josephclarke2422 - 28.06.2024 16:08

Thank you for this tutorial, was pondering how to add this functionality to my way point system and it works perfectly. so easy to understand and you explain the logic in a simple way.

Ответить
@mackdiamond5805
@mackdiamond5805 - 29.07.2024 12:51

bro sounds like Matt Aspland

Ответить
@xanderstevenson7428
@xanderstevenson7428 - 12.10.2024 12:29

Maita Basa

Ответить
@mrxcs
@mrxcs - 16.11.2024 03:17

That is a genius solution.

Ответить