Rigidbody.solverIterations

Cambiar al Manual
public int solverIterations ;

Descripción

El solverIterations determina qué tan preciso los contactos de los joints (articulaciones) Rigidbody y colisiones se resuelven. Anula Physics.defaultSolverIterations. Debe ser positivo.

If you are having trouble with connected Rigidbodies oscillating and behaving erratically setting a higher solver iteration count may improve their stability (but is slower).

See Also: Rigidbody.solverVelocityIterations.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Start() { Rigidbody rb = GetComponent<Rigidbody>(); rb.solverIterations = 30; } }