Download

Splines and Point Lights

I’m curious to see if someone can explain this to me, so let me explain what I am trying to do.

I have a spline mesh set up like you do in blueprints. There are ‘center points’ on the mesh where light should radiate from. If I could calculate the number of meshes rendered via the length of the spline, then how do I apply a point light relative to the mesh position (and not the spline) - IE for example, a street lamp would have a spot pointed on the street mesh… well my mesh needs point lights. How do I calculate how many meshes are made on the spline and return their location for positioning point lights relative to their position?