Log in or register to post comments

Flashlight Effect

April 19, 2012 - 10:22am #1

I want to create a light that follows the view of the camera.

Typically, placing an object x as a child of object y will allow for the transform of object x to move with the transform of object y. This does not work with the ARCamera. Does anyone know who I can manage this effect otherwise?

Thanks for any help!

Re: Flashlight Effect

April 19, 2012 - 2:33pm #3

Thanks for the Cube idea. It was working, I believe. It was just hard to tell. I had a directional light instead of a spotlight, so everything was lit anyway. Also, the video feed is so bright that it is hard to notice much difference when there are only a few objects in the scene.

Thanks Again!

Re: Flashlight Effect

April 19, 2012 - 12:53pm #2

It should work... Start by placing a cube as a child of the camera and moving it into the camera's field of view. Run the app, the cube should stay stuck on the screen.

- Kim

Log in or register to post comments