0
$\begingroup$

I have the following objects:

  • a bezier curve
  • an object, with a Curve modifier targeting the bezier curve. The object is not at (0,0,0) for itself - it has a translation.
  • a light

What I'd like to do is have the light somehow follow the displaced object. Think a car driving along a curve and the light being the car's headlights. However, there don't seem to be any modifiers for a light. On the other hand, I tried the constraints (Copy Location, Child Of, Follow Path) to see if those could fix my issue, but to no avail. I even tried instancing the lights on (a duplicate of) the relevant vertices on the mesh.

How do I fix this, guys?

Here's a screenshot of what happens to the light when I simply make it a child (with Ctrl-P) of the object.
failed attempt

$\endgroup$
3
  • $\begingroup$ Parent light to mesh with modifier disabled. $\endgroup$
    – vklidu
    Feb 4, 2022 at 23:26
  • $\begingroup$ @vklidu with that make the light follow the modified mesh when I re-enable the modifier? $\endgroup$
    – Jonas
    Feb 6, 2022 at 8:21
  • $\begingroup$ You should probably share your simplified blend (car represented as a cube or so) ... there is more ways to let object follow curve also there is more options to parent light - you can parent to object's origin that fits to car model, but you can also parent to vertex or three vertices ... ect $\endgroup$
    – vklidu
    Feb 6, 2022 at 9:16

1 Answer 1

0
$\begingroup$
  • Parent Light object to Mesh object.
  • Origin of Curve object (path) and Mesh (car) has to be at the same location.
  • Add Follow Path constraint to your Mesh, select Target, press Animate Path, enable Follow Curve

enter image description here

Related: https://blender.stackexchange.com/a/13915/2214

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .