Static Collider is a GameObject that has a Collider but not a Rigidbody.
一个静态碰撞器是一个包含碰撞器但不含刚体的游戏对象。
For a Trigger to collide with a normal Collider, one of them must have a Rigidbody attached.
一个触发器和一个普通碰撞器碰撞,其中之一必须附加刚体。
When the Rigidbody parent is moved around by forces, the child Colliders move along with it.
当父级刚体受力移动时,子级碰撞器也随之一起移动。
These are GameObjects that do not have a Rigidbody attached, but do have a Collider attached.
指的是没有附加刚体而附加了碰撞器的游戏对象。
If you move the Transform of a non-Kinematic Rigidbody directly it may not collide correctly with other objects.
如果你直接移动一个非运动学刚体的Transform,它和其他对象的碰撞可能出问题。
Collider does not necessarily need a Rigidbody attached, but a Rigidbody must be attached in order for the object to move as a result of collisions.
碰撞器并不一定需要附加刚体,但是要使移动物体具有碰撞效果必须附加刚体。
After instantiating the Prefab you can also modify any properties of the instantiated object (e. g. you can set the velocity of the rocket's Rigidbody).
在实例预置物体后,还可以修改实例物体的任意属性(例如设置火箭刚体的速度)。
On the other hand, if you want your player character to be affected by physics then you might be better off using a Rigidbody instead of the character Controller.
另外,如果你想让你的游戏角色被物理效果影响,那就最好使用刚体而不是角色控制器。
For example if you have an animated platform and you want to place some Rigidbody boxes on top, you should make the platform a Kinematic Rigidbody instead of just a Collider without a Rigidbody.
比如,如果有一个活动的平台并想在上面放一些刚体盒子,那就应该设置平台为运动学刚体而不仅是不加刚体的碰撞器。
For example if you have an animated platform and you want to place some Rigidbody boxes on top, you should make the platform a Kinematic Rigidbody instead of just a Collider without a Rigidbody.
比如,如果有一个活动的平台并想在上面放一些刚体盒子,那就应该设置平台为运动学刚体而不仅是不加刚体的碰撞器。
应用推荐