# Xfile object moving in directx

**URL:** https://forum.highend3d.com/t/xfile-object-moving-in-directx/41803
**Category:** Maya
**Tags:** games-related
**Created:** [June 23, 2005, 5:26pm UTC](https://forum.highend3d.com/t/xfile-object-moving-in-directx/41803 "2005-06-23T17:26:04Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rmazin](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/r/e68b1a/32.png) [@rmazin](https://forum.highend3d.com/u/rmazin)
#### Post date: [June 23, 2005, 5:26pm UTC](https://forum.highend3d.com/t/xfile-object-moving-in-directx/41803/1 "2005-06-23T17:26:04Z")

</div>

Hello,  
I created an object in maya 4.0 and exported as an .x file.

after it was compiled into my directx program the object moves slightly on the ground plane. It should not do this.

I went back into maya and created the same object but did not scale it bigger. Once i did this the object was stationary as it should be but now it is not the right size.

Does anyone know about this problem and how to fix it?

Thank you

---

<div class="post-metadata">

### Author: ![joojaa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@joojaa](https://forum.highend3d.com/u/joojaa)
#### Post date: [June 23, 2005, 5:50pm UTC](https://forum.highend3d.com/t/xfile-object-moving-in-directx/41803/2 "2005-06-23T17:50:28Z")

</div>

Well yes this is the first lesson you should have been taught about computer graphics eingenes.

IM afraid that scaling is realy the source of evil here. Since theres not eenough numerical precicion to retain after scaling. Theres not realy much you can do about this excpet pray that mayas precicion is higher! scale in maya and fix what goes wrong.

Next time youll know better and modell in scale.

---

<div class="post-metadata">

### Author: ![rmazin](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/r/e68b1a/32.png) [@rmazin](https://forum.highend3d.com/u/rmazin)
#### Post date: [June 28, 2005, 3:01pm UTC](https://forum.highend3d.com/t/xfile-object-moving-in-directx/41803/3 "2005-06-28T15:01:39Z")

</div>

I did scale in Maya if i use the scale tool it moves but if i manually enter the values then it doesnt move once the object is imported into Directx

---

<div class="post-metadata">

### Author: ![joojaa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@joojaa](https://forum.highend3d.com/u/joojaa)
#### Post date: [June 28, 2005, 3:42pm UTC](https://forum.highend3d.com/t/xfile-object-moving-in-directx/41803/4 "2005-06-28T15:42:47Z")

</div>

Its a roundoff error a arbitrary number multiplied by arbitrary numbers rounds arbitrarily

A arbitrary number multiplied by a factor of 10 100 or so does not loose precicion.
