| 166 | } |
| 167 | |
| 168 | void ItemObject::SetAngularVelocity(vec3 vel) { |
| 169 | bullet_object_->SetDamping(0.0f, 0.0f); |
| 170 | bullet_object_->SetAngularVelocity(vel); |
| 171 | } |
| 172 | |
| 173 | void ItemObject::HandleItemObjectMaterialEvent(const std::string& the_event, const vec3& normal, const vec3& event_pos, float gain, float pitch_shift) { |
| 174 | const MaterialEvent* me = scenegraph_->GetMaterialEvent(the_event, event_pos, item_ref_->GetSoundModifier(), this); |
no test coverage detected