# Make the Camera Look at a Ball

**URL:** <https://forums.unrealengine.com/t/make-the-camera-look-at-a-ball/345097>\
**Category:** Cinematics & Media\
**Tags:** vehicle, ball, unreal-engine, question\
**Created:** [January 23, 2016, 9:52pm UTC](https://forums.unrealengine.com/t/make-the-camera-look-at-a-ball/345097 "2016-01-23T21:52:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![tdogb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tdogb](https://forums.unrealengine.com/u/tdogb)\
**Post date:** [January 23, 2016, 9:52pm UTC](https://forums.unrealengine.com/t/make-the-camera-look-at-a-ball/345097/1 "2016-01-23T21:52:51Z")

</div>

I have been trying for 6 hours and 50 minuites as of now to get the spacebar to toggle between the camera looking at the car from the back and the camera looking at the ball, but still on the car. Similar to in rocket league if you have ever played it. I have looked everywhere. Someone please help me, otherwise I have wasted an entire snow day :(.\

Unreal just crashed again so I will get the screenshots if needed

---

<div class="post-metadata">

**Author:** ![DevilsD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/devilsd/32/890854_2.png) [@DevilsD](https://forums.unrealengine.com/u/DevilsD)\
**Post date:** [January 24, 2016, 3:42am UTC](https://forums.unrealengine.com/t/make-the-camera-look-at-a-ball/345097/2 "2016-01-24T03:42:23Z")

</div>

Try the FindLookAtRotation Node.

 ![75699-capture.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/b/5/6b5ea665e7503eec0e7848ca90ad3e8f39d61357.jpeg)

Start would be your Camera Location and Target would be the Ball, then apply that rotation to the Camera at a consistent rate to follow the Target.

---

<div class="post-metadata">

**Author:** ![tdogb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tdogb](https://forums.unrealengine.com/u/tdogb)\
**Post date:** [January 24, 2016, 4:57pm UTC](https://forums.unrealengine.com/t/make-the-camera-look-at-a-ball/345097/3 "2016-01-24T16:57:18Z")

</div>

I have a spring arm (does that make a difference?) and this is what I have

 ![75751-blueprint1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/6/9/e69c08f67d264687b35581957d038df8657ae776.png)

 ![75752-blueprint2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/9/db910b1e48195d38a31d81f0db03769ddd518d96.png)

This is what I have in the level blueprint

 ![75753-blueprint3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/8/a/48a0a6477e7f046804c86ad1a5157183f42bce42.png)

---

<div class="post-metadata">

**Author:** ![DevilsD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/devilsd/32/890854_2.png) [@DevilsD](https://forums.unrealengine.com/u/DevilsD)\
**Post date:** [January 24, 2016, 10:24pm UTC](https://forums.unrealengine.com/t/make-the-camera-look-at-a-ball/345097/4 "2016-01-24T22:24:05Z")

</div>

You need to take your Cameras location, not the location of your SpringArm.

---

<div class="post-metadata">

**Author:** ![tdogb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tdogb](https://forums.unrealengine.com/u/tdogb)\
**Post date:** [January 24, 2016, 11:03pm UTC](https://forums.unrealengine.com/t/make-the-camera-look-at-a-ball/345097/5 "2016-01-24T23:03:13Z")

</div>

Not working, camera seems to snap to ball location, but if the ball is moved then it gets doesn’t update. The ball is an actor/static mesh. Should I change that and what to;

---

<div class="post-metadata">

**Author:** ![DevilsD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/devilsd/32/890854_2.png) [@DevilsD](https://forums.unrealengine.com/u/DevilsD)\
**Post date:** [January 26, 2016, 3:25am UTC](https://forums.unrealengine.com/t/make-the-camera-look-at-a-ball/345097/6 "2016-01-26T03:25:26Z")

</div>

This is the setup i used to simply make the camera follow a Ball.

 ![76014-capture.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/d/9/7d9ba44dad328aa861b88b87c0e672a9703404a1.jpeg)

If you want a video demonstration as well, i can upload it in action. But i suggest you attempt to replicate this yourself following how i did it above.

---

<div class="post-metadata">

**Author:** ![tdogb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tdogb](https://forums.unrealengine.com/u/tdogb)\
**Post date:** [January 27, 2016, 1:11am UTC](https://forums.unrealengine.com/t/make-the-camera-look-at-a-ball/345097/7 "2016-01-27T01:11:16Z")

</div>

Didn’t work, I am using a vehicle and I want the camera to face the ball but the car shouldn’t turn. The ball is an actor

---

<div class="post-metadata">

**Author:** ![DevilsD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/devilsd/32/890854_2.png) [@DevilsD](https://forums.unrealengine.com/u/DevilsD)\
**Post date:** [January 28, 2016, 6:15am UTC](https://forums.unrealengine.com/t/make-the-camera-look-at-a-ball/345097/8 "2016-01-28T06:15:32Z")

</div>

Well instead of setting ControlRotation, set the WorldRotation of your Camera.

---

<div class="post-metadata">

**Author:** ![araz01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/araz01/32/1028814_2.png) [@araz01](https://forums.unrealengine.com/u/araz01)\
**Post date:** [October 13, 2023, 5:41pm UTC](https://forums.unrealengine.com/t/make-the-camera-look-at-a-ball/345097/9 "2023-10-13T17:41:39Z")

</div>

Hahahahahahahahhaaha, this is more like it. we need more updates.
