---------------------------------- RigidBodyComponentDesc::MakeData Create a rigid body component from a descriptor
| 170 | // Create a rigid body component from a descriptor |
| 171 | // |
| 172 | RigidBodyComponent* RigidBodyComponentDesc::MakeData() |
| 173 | { |
| 174 | ET_ASSERT(shape != nullptr); |
| 175 | return new RigidBodyComponent(isDynamic, mass, shape->MakeBulletCollisionShape()); |
| 176 | } |
| 177 | |
| 178 | |
| 179 | } // namespace fw |
nothing calls this directly
no test coverage detected