Notifications
Clear all
[Closed] weird target issue
May 19, 2011 3:49 pm
Hi
I have encountered a really strange bug. If I assign something as a target to a camera (using the old style, not a lookat controller) and then hide the camera the targetobject becomes kind of frozen. I can’t select it in the viewport anymore but I can select it by name. If I try to look at the object in the curve editor I can’t find it. It is entirely missing. Really disturbing behaviour…
here’s a little script to show what I mean
cam = freecamera()
targetbox = box pos:[100,0,0]
cam.target = targetbox
hide cam
Can you reproduce the bug? Do you have any idea how to avoid this?
2 Replies
May 19, 2011 3:49 pm
Creating a point helper worked better.
works like expected.
run this, and you’ll find the object as usual.
cam = freecamera()
targetbox = point pos:[100,0,0]
cam.target = targetbox
hide cam
hide targetbox
May 19, 2011 3:49 pm
The box is marked as hidden but is still displayed. That’s why you can’t select it. Strange behaviour indeed.