Author Topic: Detect When Camera Enters Area  (Read 516 times)

How would I detect when a camera enters an area? I've tried using triggers, but they only seem to pick up physical objects.

I think the only option is a schedule-loop. I can't think of anything off-hand that would detect a camera

I'm trying to figure out when a path camera reaches the end of its path, so I guess I'll just check the position every so often.

Thought there was a callback for that class when it reaches a node or the end of its path.

I thought so too but I can't find it.


http://docs.garagegames.com/torque-3d/reference/classPathCamera.html
onNode?

I think that's only for Torque 3D. Let me test it.

Edit: It works, thanks so much! The callback wasn't included in the documentation I was using.
« Last Edit: February 07, 2013, 10:31:26 PM by Greek2me »