# Pulling characters into a black hole

**URL:** <https://forums.unrealengine.com/t/pulling-characters-into-a-black-hole/458380>\
**Category:** Blueprint\
**Tags:** tps, unreal-engine, Blueprint, question\
**Created:** [November 13, 2019, 1:58pm UTC](https://forums.unrealengine.com/t/pulling-characters-into-a-black-hole/458380 "2019-11-13T13:58:35Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![hogwashnd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hogwashnd](https://forums.unrealengine.com/u/hogwashnd)\
**Post date:** [November 13, 2019, 1:58pm UTC](https://forums.unrealengine.com/t/pulling-characters-into-a-black-hole/458380/1 "2019-11-13T13:58:35Z")

</div>

In the third person shooter I am making I have a black hole ability that applies damage over time. I want to also pull characters in like Gideon’s Black Hole in Paragon. I am using the Gideon player character and another actor that applies radial damage over time.  
Here is the Black hole blueprint:

 ![292294-black-hole.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/3/d/b3dbb53ef180375e01847d8b840a0066638e456f.png)

---

<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:** [November 13, 2019, 2:56pm UTC](https://forums.unrealengine.com/t/pulling-characters-into-a-black-hole/458380/2 "2019-11-13T14:56:41Z")

</div>

Is this supposed to be physics based or you just want to move objects towards the centre of the hole?

---

<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:** [November 13, 2019, 3:13pm UTC](https://forums.unrealengine.com/t/pulling-characters-into-a-black-hole/458380/3 "2019-11-13T15:13:37Z")

</div>

You included few details so here’s a generic 5min mockup you can try experimenting with:

 ![292288-annotation-2019-11-13-151009.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/4/c74257e90afd4b6d88235af810cd39857f8a5478.jpeg)

[![Image from Gyazo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/9/3/993def0d7fa694c80ece5eeb6233c829aec1b79b.gif)](https://gyazo.com/3f18dba1e54b88735203d4ee7b9c8459)

* * *

This can be _greatly_ improved depending on how it’s supposed to work.

---

<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:** [November 13, 2019, 3:29pm UTC](https://forums.unrealengine.com/t/pulling-characters-into-a-black-hole/458380/4 "2019-11-13T15:29:16Z")

</div>

You can also use Radial Force with negative values. It’s good because it already has all the functionality in it, even the fall-off option.

---

<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:** [November 13, 2019, 3:40pm UTC](https://forums.unrealengine.com/t/pulling-characters-into-a-black-hole/458380/5 "2019-11-13T15:40:35Z")

</div>

Ah that is so very true, did not even occur to me! Thanks for pointing it out.

* * *

I’ll just add that to make it work with characters you’d need to jump some extra hoops since the traditional laws of physics do not really apply to them per se:

 ![292289-annotation-2019-11-13-153715.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/e/4/ae44af4a89fa53cd746123a73223e35782bc63d3.jpeg)

[![Image from Gyazo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/2/2/422a2188e355b60f1763fae31c215eddff9b56fa.gif)](https://gyazo.com/c3dc6095c7e2a290498acf5cd0adf8af)

Ideally you’d want to eliminate casting on Tick here.

---

<div class="post-metadata">

**Author:** ![hogwashnd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hogwashnd](https://forums.unrealengine.com/u/hogwashnd)\
**Post date:** [November 14, 2019, 2:19pm UTC](https://forums.unrealengine.com/t/pulling-characters-into-a-black-hole/458380/6 "2019-11-14T14:19:14Z")

</div>

Thanks for your help, would the math move the character toward the black hole if i launched them?

---

<div class="post-metadata">

**Author:** ![hogwashnd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hogwashnd](https://forums.unrealengine.com/u/hogwashnd)\
**Post date:** [November 14, 2019, 2:19pm UTC](https://forums.unrealengine.com/t/pulling-characters-into-a-black-hole/458380/7 "2019-11-14T14:19:16Z")

</div>

Thanks that should solve my problem

---

<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:** [November 14, 2019, 4:16pm UTC](https://forums.unrealengine.com/t/pulling-characters-into-a-black-hole/458380/8 "2019-11-14T16:16:01Z")

</div>

Why not try it? Again, it all depends on how you envisioned it to work.

---

<div class="post-metadata">

**Author:** ![hogwashnd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hogwashnd](https://forums.unrealengine.com/u/hogwashnd)\
**Post date:** [November 15, 2019, 10:17pm UTC](https://forums.unrealengine.com/t/pulling-characters-into-a-black-hole/458380/9 "2019-11-15T22:17:55Z")

</div>

This worked great thanks.
