Return the reference to the body 2 * @return The second body involved in the joint */
| 48 | * @return The second body involved in the joint |
| 49 | */ |
| 50 | RigidBody* Joint::getBody2() const { |
| 51 | const Entity body2Entiy = mWorld.mJointsComponents.getBody2Entity(mEntity); |
| 52 | return mWorld.mRigidBodyComponents.getRigidBody(body2Entiy); |
| 53 | } |
| 54 | |
| 55 | |
| 56 | // Return the type of the joint |
no test coverage detected