I have created an animation with the animation agent of unity to move my camera to a fixed position.
The problem I have is that I want to start the animation from my current position and not the original position from the animation.
Is this possible? can i alter the starting point of my animation?
The animation will change the Local Position of the camera. Try it like this:
- Select you camera object in your
scene view.
- Press ‘F’. It’ll
center the camera exactly in your
camera object.
- Create an empty
object at that very same spot as
your camera.
- Put the camera
object inside the empty gameobject.
- Move the empty gameobject (with
the camera as its child), along with
the character. This is very
important.
Your animation will now be relative to your empty gameobject position. The only thing is: you’ll have to create the animation from position (0, 0, 0) in your scene view.
,
The animation will change the Local Position of the camera. Try it like this:
- Select you camera object in your scene view.
- Press ‘F’. It’ll center the camera exactly in your camera object.
- Create an empty object at that very same spot as your camera.
- Put the camera object inside the empty gameobject.
- Move the empty gameobject (with the camera as its child), along with the character. This is very important.
Your animation will now be relative to your empty gameobjects position. The only thing is: you’ll have to create the animation from position (0, 0, 0) in your scene view.
,
The animation will change the Local Position of the camera. Try it like this:
- Select you camera object in your scene view.
- Press ‘F’. It’ll center the camera exactly in your camera object.
- Create an empty object at that very same spot as your camera.
- Put the camera object inside the empty gameobject.
- Move the empty gameobject (with the camera as its child), along with the character. This is very important.
Your animation will now be relative to your empty gameobjects position. The only thing is: you’ll have to create the animation from position (0, 0, 0) in your scene view.