Camera position on back of the sphere

How to move a sphere like a third person shooter, but with rotation of the sphere and camera to stay behind of the move direction of the sphere?

Please help, i tried a bunch of scripts and nothing worked correctly, sometimes when i make camera a child of the sphere the camera rotates around the sphere.

To move the sphere i use .rigidbody.AddForce();

Not sure if I understood your question right.
But there is a Unity rolling ball tutorial that does that

The idea is, that i want the camera to be behind of a sphere and follow it, but when i move the sphere to the right i want the camera to be behind the sphere pointing the towards right direction, just like you rotate a character and the camera stay behind, (Ex: GTA IV).

The tutorial just show how to make camera track an object on scene.

Drag your “main camera” into your sphere(so it should be under sphere’s treeview), then adjust the angle of that camera

You mean to make it a child of sphere, then the camera will rotate with the sphere.

Ya, sorry that my english is pretty limited.

bogdanalin92
did you ever solve this?

Just go for the roll a ball tutorial.

It might help you :slight_smile: