# Weeping Angels effect

**URL:** <https://forums.unrealengine.com/t/weeping-angels-effect/432807>\
**Category:** Blueprint\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [August 30, 2018, 4:01pm UTC](https://forums.unrealengine.com/t/weeping-angels-effect/432807 "2018-08-30T16:01:28Z")\
**Posts on this page:** 18\
**Page:** 2

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [August 31, 2018, 3:52pm UTC](https://forums.unrealengine.com/t/weeping-angels-effect/432807/21 "2018-08-31T15:52:58Z")

</div>

This tick is in the player character, right? And the cone is set to Overlapping collision? So what’s happening? Everything is working apart from debug text? Or nothing is working at all?

---

<div class="post-metadata">

**Author:** ![0land0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@0land0](https://forums.unrealengine.com/u/0land0)\
**Post date:** [August 31, 2018, 4:04pm UTC](https://forums.unrealengine.com/t/weeping-angels-effect/432807/22 "2018-08-31T16:04:13Z")

</div>

The blueprints are in the Player Character, the cone is set to overlap all, the code just seems to not be running at all. I’ll check in a bit to make sure it’s a tick event. Are there any blueprints I need in the angel? (I guess that’s what you’d call it)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [August 31, 2018, 4:17pm UTC](https://forums.unrealengine.com/t/weeping-angels-effect/432807/23 "2018-08-31T16:17:27Z")

</div>

> Are there any blueprints I need in the  
> angel?

Well, yes! It’s the first pic I ever posted here - it controls the movement of the _Statues_. As you can see my angels are a wee bit chubby.

edit: Instead of _Player_ you can use `Get Player Character` node

---

<div class="post-metadata">

**Author:** ![0land0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@0land0](https://forums.unrealengine.com/u/0land0)\
**Post date:** [August 31, 2018, 4:47pm UTC](https://forums.unrealengine.com/t/weeping-angels-effect/432807/24 "2018-08-31T16:47:11Z")

</div>

Haha, I though that was just for the first example (I’m still not amazing with the engine). I’ll try that!

---

<div class="post-metadata">

**Author:** ![0land0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@0land0](https://forums.unrealengine.com/u/0land0)\
**Post date:** [August 31, 2018, 6:13pm UTC](https://forums.unrealengine.com/t/weeping-angels-effect/432807/25 "2018-08-31T18:13:31Z")

</div>

One more thing, My angel character moves in stages. (ex. One position, 10 seconds later…, Second Position, etc…), how would I incorporate this into the blueprints or should I do it a different way?

---

<div class="post-metadata">

**Author:** ![BladeMaster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BladeMaster](https://forums.unrealengine.com/u/BladeMaster)\
**Post date:** [August 31, 2018, 6:56pm UTC](https://forums.unrealengine.com/t/weeping-angels-effect/432807/26 "2018-08-31T18:56:56Z")

</div>

You can also use “Was recently rendered” node. If the actor was recently rendered, it should not move, else it can move towards the player. I don’t know how expensive it might be, you can try and experiment.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [August 31, 2018, 7:02pm UTC](https://forums.unrealengine.com/t/weeping-angels-effect/432807/27 "2018-08-31T19:02:10Z")

</div>

So not directly towards the player, right? So each statue has a list of predetermined locations it will move to?

Have the desired locations in the array, use indexes to mark which one is next, vInterp between them or even better, use a Timeline, you’ll have more control over the movement curve.

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [August 31, 2018, 8:29pm UTC](https://forums.unrealengine.com/t/weeping-angels-effect/432807/28 "2018-08-31T20:29:26Z")

</div>

That’s actually brilliant, I had no idea such a node even exists. It also works great in cases where you don’t turn away, but only hide around the corner or behind something. You can recreate ninja cat effects like this: [Funny Stalking Cat Video Compilation - YouTube](https://youtu.be/b7debB7Nsok?t=3)

---

<div class="post-metadata">

**Author:** ![BladeMaster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BladeMaster](https://forums.unrealengine.com/u/BladeMaster)\
**Post date:** [August 31, 2018, 8:33pm UTC](https://forums.unrealengine.com/t/weeping-angels-effect/432807/29 "2018-08-31T20:33:07Z")

</div>

haha yeah! If you implement it, do tell me about the performance. I have a feeling that you might have to call this node on tick and that might be expensive.

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [August 31, 2018, 8:42pm UTC](https://forums.unrealengine.com/t/weeping-angels-effect/432807/30 "2018-08-31T20:42:22Z")

</div>

Well sure, it should be done on tick or timer, but as I understand that’s a property of an actor that’s being set for each actor no matter if you use this node or not. So maybe that’s wouldn’t be very expensive?..  
  
Not sure though.  
  
Edit: since you won’t see the movement anyway, it doesn’t have be smooth. A timer that ticks, e.g. 5 times a second, should suffice.

---

<div class="post-metadata">

**Author:** ![BladeMaster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BladeMaster](https://forums.unrealengine.com/u/BladeMaster)\
**Post date:** [August 31, 2018, 9:09pm UTC](https://forums.unrealengine.com/t/weeping-angels-effect/432807/31 "2018-08-31T21:09:29Z")

</div>

You are right! Set timer by function or event should work here.

---

<div class="post-metadata">

**Author:** ![0land0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@0land0](https://forums.unrealengine.com/u/0land0)\
**Post date:** [August 31, 2018, 11:27pm UTC](https://forums.unrealengine.com/t/weeping-angels-effect/432807/32 "2018-08-31T23:27:27Z")

</div>

That’s perfect!

---

<div class="post-metadata">

**Author:** ![MichaelWion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MichaelWion](https://forums.unrealengine.com/u/MichaelWion)\
**Post date:** [January 25, 2019, 5:24am UTC](https://forums.unrealengine.com/t/weeping-angels-effect/432807/33 "2019-01-25T05:24:48Z")

</div>

Another built-in, and perhaps even more dynamic way to do this, is via the [AI Perception Component](https://www.youtube.com/results?search_query=ai+perception+ue4) and corresponding [Perception Nodes](https://api.unrealengine.com/INT/BlueprintAPI/AI/Perception/index.html). Your Weeping Angels pawns would have a Perception Component added to them, and be possessed by an AI Controller. This would also enable [Navigation System](https://api.unrealengine.com/INT/BlueprintAPI/AI/Navigation/index.html) tools, so your AI could easily make use of pathfinding nodes like [Simple Move To Actor](https://api.unrealengine.com/INT/BlueprintAPI/AI/Navigation/SimpleMovetoActor/index.html) and [Stop Movement](https://api.unrealengine.com/INT/BlueprintAPI/AI/Navigation/StopMovement/index.html). You could even utilize [Get Move Status](https://api.unrealengine.com/INT/BlueprintAPI/AI/Navigation/GetMoveStatus/index.html) to do something when the AI reaches the player.

---

<div class="post-metadata">

**Author:** ![plangton](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@plangton](https://forums.unrealengine.com/u/plangton)\
**Post date:** [January 25, 2019, 12:59pm UTC](https://forums.unrealengine.com/t/weeping-angels-effect/432807/34 "2019-01-25T12:59:38Z")

</div>

A much simpler solution is to check if an object is in the field of view of the camera  
you can find the blueprint here.  
[https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/8933-is-there-a-way-to-check-if-the-player-can-see-an-object](https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/8933-is-there-a-way-to-check-if-the-player-can-see-an-object)

---

<div class="post-metadata">

**Author:** ![JsonYeo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jsonyeo/32/962946_2.png) [@JsonYeo](https://forums.unrealengine.com/u/JsonYeo)\
**Post date:** [April 21, 2023, 9:31pm UTC](https://forums.unrealengine.com/t/weeping-angels-effect/432807/35 "2023-04-21T21:31:07Z")

</div>

If I were to use Mr.Conehead, how to make the cone to just overlap AI only? I have collectable items far from player, but when the conehead overlaps with them, the items just got collected. I want only the player mesh to overlap with the items to collect them.

---

<div class="post-metadata">

**Author:** ![Fraggle\_a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fraggle\_a](https://forums.unrealengine.com/u/Fraggle_a)\
**Post date:** [April 22, 2023, 2:00am UTC](https://forums.unrealengine.com/t/weeping-angels-effect/432807/36 "2023-04-22T02:00:54Z")

</div>

Been there…  
I made a Rocking Chair that would only Rock when not in the view of the player. So when the player looked at it, they would just see it settling (thanks to physics).

What you are looking for is the ‘was recently rendered’ function.  
It returns a Bool which basically says “False” if the object isnt being rendered (off canera), and True if it is (on camera).

Throw that in the Actors ‘Tick’ piepline and thats literally all you need.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [April 23, 2023, 1:09am UTC](https://forums.unrealengine.com/t/weeping-angels-effect/432807/37 "2023-04-23T01:09:30Z")

</div>

Hey there @JsonYeo! Welcome to the community! (most of this is assuming you have a default character set up) So if the cone is a child of the player character at all, it will inherit it’s collision rules. However, a way to get around it counting as the player would be to check for the component overlap instead of actor overlap. So if you change you’re on actor overlaps in your character to say, on capsule component overlap, it will only affect the items when the capsule makes contact.

---

<div class="post-metadata">

**Author:** ![JsonYeo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jsonyeo/32/962946_2.png) [@JsonYeo](https://forums.unrealengine.com/u/JsonYeo)\
**Post date:** [April 25, 2023, 11:03am UTC](https://forums.unrealengine.com/t/weeping-angels-effect/432807/38 "2023-04-25T11:03:19Z")

</div>

Thanks. However, I solved it by opening a new channel and adjusted the collision settings between the cone, AI and the collectable item.

[Previous page](https://forums.unrealengine.com/t/weeping-angels-effect/432807.md?page=1)
