# Spline and Point Lights

**URL:** <https://forums.unrealengine.com/t/spline-and-point-lights/586972>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE5-0, Blueprint, question\
**Created:** [June 21, 2022, 5:20pm UTC](https://forums.unrealengine.com/t/spline-and-point-lights/586972 "2022-06-21T17:20:01Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![X2732](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@X2732](https://forums.unrealengine.com/u/X2732)\
**Post date:** [June 21, 2022, 5:20pm UTC](https://forums.unrealengine.com/t/spline-and-point-lights/586972/1 "2022-06-21T17:20:01Z")

</div>

Hi I’m currently trying and failing to write a blueprint to place many pointlights along a spline to basically curve them. Does anyone know how I could do it? I’ve seen many use splines to arrange static meshes along curves, but cant find anything about lights.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 21, 2022, 6:13pm UTC](https://forums.unrealengine.com/t/spline-and-point-lights/586972/2 "2022-06-21T18:13:22Z")

</div>

You mean as if the lights are on a cable? Not that the lights have to distort with the spline?

---

<div class="post-metadata">

**Author:** ![X2732](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@X2732](https://forums.unrealengine.com/u/X2732)\
**Post date:** [June 21, 2022, 7:06pm UTC](https://forums.unrealengine.com/t/spline-and-point-lights/586972/3 "2022-06-21T19:06:21Z")

</div>

Yeah basically like a chain of lights. Need it to replicate more realistic curved LED uplight. Emissive materials are sadly not quite enough for that. untill now i have manually placed them along the curve, but thats quite time consuming.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 21, 2022, 7:23pm UTC](https://forums.unrealengine.com/t/spline-and-point-lights/586972/4 "2022-06-21T19:23:54Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/d/9/0d9aa2a58fdcba41ce6880197eb5a3e1bcae9fc3.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/e/5/fe53f2e0c52caf8303f557672b4f4ad7c98b5e14.jpeg)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/b/4/4b4db3cb2a81ffdd57da68f1f36ce12a51d58f0b.jpeg)

---

<div class="post-metadata">

**Author:** ![X2732](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@X2732](https://forums.unrealengine.com/u/X2732)\
**Post date:** [June 21, 2022, 8:11pm UTC](https://forums.unrealengine.com/t/spline-and-point-lights/586972/5 "2022-06-21T20:11:40Z")

</div>

thanks a lot

---

<div class="post-metadata">

**Author:** ![Beaueos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Beaueos](https://forums.unrealengine.com/u/Beaueos)\
**Post date:** [August 26, 2022, 9:23pm UTC](https://forums.unrealengine.com/t/spline-and-point-lights/586972/6 "2022-08-26T21:23:04Z")

</div>

What are the N nodes?

---

<div class="post-metadata">

**Author:** ![bjgil2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bjgil2](https://forums.unrealengine.com/u/bjgil2)\
**Post date:** [August 27, 2022, 2:47am UTC](https://forums.unrealengine.com/t/spline-and-point-lights/586972/7 "2022-08-27T02:47:18Z")

</div>

Seems to be a variable for holding the number of lights to create

---

<div class="post-metadata">

**Author:** ![atelierwhy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@atelierwhy](https://forums.unrealengine.com/u/atelierwhy)\
**Post date:** [June 17, 2023, 4:45am UTC](https://forums.unrealengine.com/t/spline-and-point-lights/586972/8 "2023-06-17T04:45:46Z")

</div>

It is working, thank you. I tried to change Rect Light component but I can’t rotate light source. Can you help me?

---

<div class="post-metadata">

**Author:** ![atelierwhy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@atelierwhy](https://forums.unrealengine.com/u/atelierwhy)\
**Post date:** [June 17, 2023, 2:04pm UTC](https://forums.unrealengine.com/t/spline-and-point-lights/586972/9 "2023-06-17T14:04:05Z")

</div>

It is working, thank you. I tried to change Rect Light component but I can’t rotate light source. Can you help me?  
I can’t upload images so I’m adding a link

> **[Screenshot 1.pdf](https://drive.google.com/file/d/1iy40fvudX__gy8M34PJWzk98X519fGQE/view?usp=sharing)**
>
> Google Drive file.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 17, 2023, 3:00pm UTC](https://forums.unrealengine.com/t/spline-and-point-lights/586972/10 "2023-06-17T15:00:19Z")

</div>

You have to apply the rotation on the actual spline points

![spl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/d/1/bd112572f3ff78280c798706e7ff95552ac2d179.gif)

---

<div class="post-metadata">

**Author:** ![atelierwhy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@atelierwhy](https://forums.unrealengine.com/u/atelierwhy)\
**Post date:** [June 17, 2023, 3:08pm UTC](https://forums.unrealengine.com/t/spline-and-point-lights/586972/11 "2023-06-17T15:08:37Z")

</div>

I didn’t expect to get an answer so soon, and I really appreciate it.

I’ve been trying to create Linear Light using IES files and have been having a lot of trouble. I tried to use Emmisive material, but I got a lot of noise during rendering, so I gave up.  
Then I found your post and I’ve been studying it every day and left a question just in case.

---

<div class="post-metadata">

**Author:** ![atelierwhy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@atelierwhy](https://forums.unrealengine.com/u/atelierwhy)\
**Post date:** [June 17, 2023, 3:11pm UTC](https://forums.unrealengine.com/t/spline-and-point-lights/586972/12 "2023-06-17T15:11:30Z")

</div>

Since the IES file is 1 meter, I was looking for lights to be placed at regular intervals along the spline.  
Your method is the most efficient, but the whole light is looking along the spline, so I was looking for a way around that.  
Should the lights be looking at the floor or the sky?  
Sorry for asking so many questions

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 17, 2023, 3:18pm UTC](https://forums.unrealengine.com/t/spline-and-point-lights/586972/13 "2023-06-17T15:18:15Z")

</div>

You can add a transform when you attach the lights

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/5/5/655877bfa316088afe11ceebef7428bc8e2ead2a.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/f/c/afc8bf655b488ed454e100a0b2ef3766c8c0da04.jpeg)

---

<div class="post-metadata">

**Author:** ![atelierwhy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@atelierwhy](https://forums.unrealengine.com/u/atelierwhy)\
**Post date:** [June 17, 2023, 3:24pm UTC](https://forums.unrealengine.com/t/spline-and-point-lights/586972/14 "2023-06-17T15:24:14Z")

</div>

I never imagined that someone in a community like this would give me an answer like this. Thank you from the bottom of my heart. I’m going to try it right now.

---

<div class="post-metadata">

**Author:** ![atelierwhy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@atelierwhy](https://forums.unrealengine.com/u/atelierwhy)\
**Post date:** [June 17, 2023, 3:33pm UTC](https://forums.unrealengine.com/t/spline-and-point-lights/586972/15 "2023-06-17T15:33:21Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/d/e/bdebc359faf5f9ec78cd4ab3afa29ecb5bc84ec0.png)  
I’ve gotten this far, but I can’t find anything like the image you showed. I’ll do some more research. Thanks again.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 17, 2023, 3:33pm UTC](https://forums.unrealengine.com/t/spline-and-point-lights/586972/16 "2023-06-17T15:33:52Z")

</div>

Right click ‘split pin’

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/9/e/39e137ff339b6f4cd3fea8af02001b152a416641.png)

---

<div class="post-metadata">

**Author:** ![atelierwhy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@atelierwhy](https://forums.unrealengine.com/u/atelierwhy)\
**Post date:** [June 17, 2023, 3:40pm UTC](https://forums.unrealengine.com/t/spline-and-point-lights/586972/17 "2023-06-17T15:40:30Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/b/c/7bcbc9b751dfcf4e38a215ea3f943caf73ad9977.jpeg)  
Awesome!  
You are the best

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [June 17, 2023, 3:41pm UTC](https://forums.unrealengine.com/t/spline-and-point-lights/586972/18 "2023-06-17T15:41:05Z")

</div>

You’re welcome 🙂
