Hello,
I would like to make my camera moving on clicks. So, for it, I need to move my camera and my Look At object too.
Problem : For the initialisation the lookAt constraint is correctly placed for my camera but if I move the lookAt object with scripts for example, my mainCamera doesn’t react at all, it doesn’t move.
How could I fix that ?
Original Post on Discord
by user 224464722878005248
If you want it to follow the target you need to enable the locking on the look at component
by user 224464722878005248
Here ? On my camera object ?
by user 224464722878005248
It doesn’t work 
by user 224464722878005248
It’s locked by default
by user 224464722878005248
What are you moving from script? The look at transform object?
Is it assigned to the OrbitControls component?
Yep
by user 224464722878005248
by user 224464722878005248
Oh, the orbit control is mandatory to use the look at constraint ?
by user 224464722878005248
Okay, I enabled it
It works
by user 224464722878005248
Other problem :
by user 224464722878005248
I have serialisable problem
by user 224464722878005248
here :
by user 224464722878005248
by user 224464722878005248
When I change my number, it’s not used
by user 224464722878005248

by user 224464722878005248