is there a script to shake the camera ?
i need that for something like an explosion in a game looks like that
http://www.youtube.com/watch?v=2BA_P-3YlEM
http://www.youtube.com/watch?v=vsM41uPP13Q
and
something like that
http://www.youtube.com/watch?v=r6wmJplF0Lo
for smoother camera movements.
will may bullet help me on the smother camera movements?
thx in advance
How to Camera Shake and Camera Smoothmovements?
-
- Posts: 4
- Joined: Sun Jun 19, 2011 2:33 pm
Re: How to Camera Shake and Camera Smoothmovements?
Hello random,
I have done something like that in an old project. I just combined two animators: one for folowing the target smoothly and another one to move the camea around to simulate an explosion.After the second animator moves the camera haoticaly, the first one smoothly returns it to the original position.
You can have a look in the source code if you want.
Btw, in the demo use wasd to move and space bar to set bomb.
Download linke here.
I have done something like that in an old project. I just combined two animators: one for folowing the target smoothly and another one to move the camea around to simulate an explosion.After the second animator moves the camera haoticaly, the first one smoothly returns it to the original position.
You can have a look in the source code if you want.
Btw, in the demo use wasd to move and space bar to set bomb.
Download linke here.