# UE4 units (cm) vs PhysX units (m)

**URL:** <https://forums.unrealengine.com/t/ue4-units-cm-vs-physx-units-m/365141>\
**Category:** World Creation\
**Tags:** units, unreal-engine, Physics, UE4, question\
**Created:** [July 25, 2016, 8:44pm UTC](https://forums.unrealengine.com/t/ue4-units-cm-vs-physx-units-m/365141 "2016-07-25T20:44:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shinyclaw](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shinyclaw](https://forums.unrealengine.com/u/shinyclaw)\
**Post date:** [July 25, 2016, 8:44pm UTC](https://forums.unrealengine.com/t/ue4-units-cm-vs-physx-units-m/365141/1 "2016-07-25T20:44:49Z")

</div>

I’m curious how and where in the code the UE4 engine converts centimeters to meters, to keep the physic simulation smooth? I hope, that this is done at some point, like PhysX docs says:

**Object scales that cause jittering**

Simulations that use inches or centimeters as the basic unit (as is the default in 3dsmax) require a gravity factor on the order of 1000 and a skinWidth of 2.5. **At these values, your simulation is likely to exhibit a lot of jitter straight off**.

If you reduce all these values by a factor of 100 (to bring into meters scale), **you should so no more jitter**.

The reason for this is that there are other variables, such as NX\_BOUNCE\_TRESHOLD and NX\_DEFAULT\_SLEEP\_LIN\_VEL\_SQUARED to name two, that also need to be scaled. The default values of all current and future variables are (and will be) based on **meter units** , so the safeguard is to use meters for your own PhysX data, if possible, or scale it whenever you pass data to and from the PhysX simulation.

---

<div class="post-metadata">

**Author:** ![shinyclaw](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shinyclaw](https://forums.unrealengine.com/u/shinyclaw)\
**Post date:** [March 24, 2017, 12:48pm UTC](https://forums.unrealengine.com/t/ue4-units-cm-vs-physx-units-m/365141/2 "2017-03-24T12:48:33Z")

</div>

No answer for a long time, so I should assume that this conversion is never done resulting in jittery physics?

---

<div class="post-metadata">

**Author:** ![0lento\_archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@0lento\_archive](https://forums.unrealengine.com/u/0lento_archive)\
**Post date:** [May 23, 2017, 8:37am UTC](https://forums.unrealengine.com/t/ue4-units-cm-vs-physx-units-m/365141/3 "2017-05-23T08:37:17Z")

</div>

You actually see this jitter in engine? Because I can’t, not unless I make tiny objects in scale of few cm and the put constraints on them.
