Hi
In this script i’m using clones to replace it on WheelsCollider and it does. But those clones get wrong values (0.36,0,0). I need all rotation values able to be adjusted.
public WheelCollider[] apples;
public GameObject tree;
public void Start()
{
apples = GetComponentsInChildren<WheelCollider>();
for (int i = 0; i < apples.Length; ++i)
{
var wheel = apples [i];
if (tree != null)
{
var gv = GameObject.Instantiate (tree);
gv.transform.parent = wheel.transform;
}
}
}