I made an syntax error and that is why it did not work. Sorry.

On May 11, 4:16 pm, Christian <[email protected]> wrote:
> hello,
>
> I have a basic scene created with the bps generator. I have no problem
> adding models to the scene but I am trying to make a model follow the
> camera. I usually would put something like this in the
> onEnterFrame(event:Event).
>
> model.x = _view.camera.x;
> model.y = _view.camera.y;
> model.z = _view.camera.z;
>
> I put it in but the model does not follow the camera.  It loads it and
> I can look at it at runtime but it will not follow it. Is there some
> interaction that I am missing. I do a trace for the camera x,y,z
> values and I get numbers. Also I am loading an obj model directly into
> the scene.
>
> Also would there be a way to use a target camera instead and have the
> model out if front be steered by the controls. I know how to set that
> up normally but have no clue with the BPSTree and BSPCollider. Maybe I
> just have no clue anyway =)
>
> Let me know if I am barking up the wrong tree or point me to any
> relive info and I would appreciate it.
>
> Thanks In advance.
> Christian

Reply via email to