introduce
Rigidbody is the API of rigid body components. By calling related methods, objects have physical characteristics.
Rigid body properties
Mass 默认值1
qualityDrag 默认值0
air resistanceAngular Drag 默认值0.05
Affects the amount of air resistance the object has when rotating it according to the torque.Use Gravity 默认值true
whether to use gravityIsKinemtic
If this option is enabled, the object will not be driven by the physics engine, it can only变换 (Transform)
be manipulated by the .Interpalate
Only try one of the provided options if you see jerks in rigid body motionNone 默认值
DefaultsInterpalate
Smooth transitions based on the previous frame's transitionExtrapalate
Smooth the transform based on the estimated transform for the next frame
Collision Detection
Collision Detection AlgorithmDiscrete 默认值
Use discrete collision detection for all other colliders in the scene.Continuous
Continuous Dynamic
For all other colliders, discrete collision detection is used. for fast moving objectsContinuous Speculative
This method is usually less expensive than sweep-based continuous collision detection
Constrains
Limit movement and rotation of objects on some axesFreeze Position
restricted movementFreeze Rotation
limited rotation
Info
details