Gibbz
01-04-2009, 11:41 PM
Ive had a look through the callbacks. Which would be the best one for when I move an object in the viewport?
What I want to do is to have the user select the camera target and drag this around inside a box (ie the target cannot leave this box).
This will then affect the cameras position. The user should not be able to move the camera, only the target.
So im looking for a callback for when the user moves a node or some other way to do this? Possibly using constraints?
What I want to do is to have the user select the camera target and drag this around inside a box (ie the target cannot leave this box).
This will then affect the cameras position. The user should not be able to move the camera, only the target.
So im looking for a callback for when the user moves a node or some other way to do this? Possibly using constraints?
