How do I make the skydome move with the player in Unity?

The skydome is made with Blender.

I want the skydome to move with the player but ignores the rotation.

What i the Javascript for that?

Thought about going to the Unity forums?

Easiest way would be to use the builtin Unity skyboxes.

Or a simple way would be to have a script attached to the skydome that copies the player’s transform. The following code is untested, you may have to change things. You would set the player variable via the inspector. If you want, you could add player = GameObject.Find(“player_object_name”).transform; or something similar in Start() if you don’t want to set it via inspector.

var player : Transform = new Transform;

function Update() {
transform.position = player.position;