I couldn't get the example to work but I got the result with glscene's PointTo command like this

[pascal]procedure TForm1.HandleAI(const deltaTime: Double);
begin
enemycube.PointTo(dummycube1, yhmgvector);
enemycube.move(cenemyspeed*deltatime);[/pascal]

It was that simple with glscene but thanks anyway for the example you gave me.