# UDestructibleComponent::IsAnySimulatingPhysics() typo

**URL:** <https://forums.unrealengine.com/t/udestructiblecomponent-isanysimulatingphysics-typo/286728>\
**Category:** C++\
**Tags:** typo, unreal-engine, CPP, question\
**Created:** [June 25, 2014, 7:14am UTC](https://forums.unrealengine.com/t/udestructiblecomponent-isanysimulatingphysics-typo/286728 "2014-06-25T07:14:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pierdek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pierdek](https://forums.unrealengine.com/u/Pierdek)\
**Post date:** [June 25, 2014, 7:14am UTC](https://forums.unrealengine.com/t/udestructiblecomponent-isanysimulatingphysics-typo/286728/1 "2014-06-25T07:14:42Z")

</div>

Hi, I found funny typo 😉

```
bool UDestructibleComponent::IsAnySimulatingPhysics() const 
{
	return !!BodyInstance.bSimulatePhysics;
}

```

Best regards

Pierdek

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_518c3a4c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_518c3a4c](https://forums.unrealengine.com/u/anonymous_user_518c3a4c)\
**Post date:** [June 25, 2014, 9:46am UTC](https://forums.unrealengine.com/t/udestructiblecomponent-isanysimulatingphysics-typo/286728/2 "2014-06-25T09:46:57Z")

</div>

Well, fix it and make a pull request 🙂

---

<div class="post-metadata">

**Author:** ![swx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@swx](https://forums.unrealengine.com/u/swx)\
**Post date:** [June 27, 2014, 3:54pm UTC](https://forums.unrealengine.com/t/udestructiblecomponent-isanysimulatingphysics-typo/286728/3 "2014-06-27T15:54:04Z")

</div>

This is not an error. !! is used here to convert from a uint32 to bool.
