Halo 3 Banshee animation

Hi,

I am trying to create a Halo 3 banshee-like control scheme for a plane in my game. I have currently attached rotation and engine scripts to the main camera of the scene and this works well.

All I need to do now is to get the plane object to be positioned in front of the camera at all times, but to also be able to rotate it slower than the camera rotates to get the Banshee effect.

I have tried attaching the plane graphics object to the main camera (as a sub-object), but this fails, as the plane stays in the correct position, but it's rotation is always the same as the camera. I expected this to happen, knowing how game objects transform's work.

Does anybody have any ideas of how to get the plane to function like a Halo 3 banshee? Do you think this requires animation in the 3D package, or will it be achievable through Unity scripting alone?

Thanks, Rich

You should look into the code involved with Unity's out-of-the-box camera scripts. You're looking for something like the Smooth Follow script, which you attach to the camera and reference the Transform of your plane.

You'll want to play with the rotational damping, which will get that drifty effect when the camera takes a moment to catch up to the player's updated position.

As I said, to achieve your exact effect you might need to do some code tweaking.

Cheers

==