文档

支持

Unity Studio

Open Unity Studio

Unity Studio

Physics component

Simulate physics in your project to ensure that the objects correctly accelerate and respond to collisions, gravity, and various other forces.
阅读时间1 分钟最后更新于 2 个月前

Physics properties

Adjust how objects move and interact with gravity. You can set the mass of the object and choose whether it’s affected by gravity.
提示
Disable physics if you don't want gravity to affect your GameObject.

Property

Description

MassDefine the mass of the object.
Use GravityEnable for gravity to impact the object. Object falls during Play mode unless it's grounded. Disable for gravity to have no impact.

Additional resources