problem with camera control
hey guy
i want my actor to stay back not in the center of the scene. i manage to do so with created camera control and i put it hidden in the scene. the only problem with that is when the actor moved, is a bit shaky.
i use accelerate and constrain attribute to make actor move at the same speed. please anyone
thank you
i want my actor to stay back not in the center of the scene. i manage to do so with created camera control and i put it hidden in the scene. the only problem with that is when the actor moved, is a bit shaky.
i use accelerate and constrain attribute to make actor move at the same speed. please anyone
thank you
Best Answers
-
Photics Posts: 4,172
Are you using a separate/hidden actor to control the camera?
That extra actor isn't necessary. Instead, the camera's position can be changed/constrained by accessing the camera attribute directly.
Double-Click the hero actor on the scene...
Click the lock icon...
Now you can access the "Current Scene" attributes, where the camera related attributes can be found.
That might give better performance.
Also, if you still want to use a hidden actor, physics should be turned off. Even though it's invisible, it could still be colliding with stuff, which might be the cause of the shaky camera movement. -
JohnPapiomitis Posts: 6,256
Yeah like Photics said unlock the actor so you can access the scene attributes. And constrain the camera.origin.x to self.position.x-whatever you want
That should get rid of the shake