Closed GuoLei1990 closed 2 years ago
In PhysX, Rigidbody related to NpRigidDynamic inherit from PxActor, which will be added into the object of PxScene. NpRigidDynamic is the subclass of NpRigidBodyTemplate\<PxRigidDynamic>, which contains member function related to mass, linearDamping, force, torque, linear velocity, angular velocity and so on.
Rigidbody is the prerequisite dependence of Joint, Articulation components. And there is also an optional component called ConstantForce in Unity depends on it.
Design: @GuoLei1990 , @yangfengzzz
PR: @yangfengzzz
PR reviewers: @cptbtptpbcptdtptp , @zhuxudong , @GuoLei1990