Why when i am using curve modifier my model is not exactly in the curve position

Hi, i have applied an array modifier to an object and then a curve modifier.the result it is that my object moves along the curve as i wanted, but not in the same position of the curve but below my curve.

Here is my .blend file, the curve name is curve2 and the object is kerb
https://rapidshare.com/files/460549338/circuitotordesillas2.blend

Attachments

circuitotordesillas2.blend (116 Bytes)

Select the track Shift+S / Curser to selection
Select the curb, Ctrl+Shift+Alt+C / origin to geometry
Shift+S / selection to curser

Attachments

circuitotordesillas2.blend (1.5 MB)

Thank you, it works perfectly. But i don´t understand the reason why i have to do that. Anyone could explain me?

If you haven’t figured it out already, that’s just so the two objects’ origins are in the same place. That’s what an object in an array put along a curve needs to act predictably.

The origin of your curve and the origin of your object must start in the same place. It’s a pain in the ass, I know. It took me forever to figure it out.