Unity中碰撞器(Collider)和觸發(fā)器(Trigger)的區(qū)別?
碰撞器(Collider)有碰撞效果,IsTrigger=false,可以調(diào)OnCollisionEnter/Stay/Exit函數(shù)
觸發(fā)器(Trigger)沒有碰撞效果,isTrigger=true,可以調(diào)用OnTriggerEnter/Stay/Exit函數(shù)
U3D中,幾種施加力的方式,描述出來
首先需要對象要有rigidbody組件
Rigidbody.AddForce /AddForceAtPosition
2D Constant Force
Force/Relative Force/Torque