| 886 | } |
| 887 | |
| 888 | int PhysicsBody::getGroup() const |
| 889 | { |
| 890 | if (!_shapes.empty()) |
| 891 | { |
| 892 | return _shapes.front()->getGroup(); |
| 893 | } |
| 894 | else |
| 895 | { |
| 896 | return 0; |
| 897 | } |
| 898 | } |
| 899 | |
| 900 | void PhysicsBody::setRotationOffset(float rotation) |
| 901 | { |
no test coverage detected