Version: 2023.2

PhysicsVisualizationSettings.centerOfMassUseScreenSize

切换到手册
public static bool centerOfMassUseScreenSize ;

描述

Whether or not the center of mass visualization should be constant screen space size.

If you set the property to false, Unity draws the center of mass visualization in world space. If you set the property to true, Unity draws the center of mass visualization in constant sceen space.