Collisions II

Hello…

Is there a way to rotate the collision bounds without rotate the mesh?..

thanks…

I had expected that this script would do what you’re looking for.

	void Update () {
		this.collider.transform.Rotate(Vector3.up, 5f);
	}

But it rotates the mesh as well.

So remove the collider component of the mesh
Attach an empty GameObject as a child of the mesh.
Add a collider component to the child.
Then add a rotating script to the child.

will probe , thanks !