Physics.bounceThreshold

切换到手册
public static float bounceThreshold ;

描述

两个相对速度低于该值的对象碰撞后将不反弹(默认为 2)。必须为正值。

通常在 Edit > Project Settings > Physics Inspector 中(而不是脚本中)更改该值。

using UnityEngine;

public class Example : MonoBehaviour { void Start() { Physics.bounceThreshold = 1; } }