# How far do the axis go?

 0 What is the maximum possible x position an object can have?Is this also the maximum for all the other axis? more ▼ asked Jul 10 '12 at 09:57 AM David1901 45 ● 6 ● 13 ● 22 add new comment (comments are locked) 10|3000 characters needed characters left ▼ Viewable by all users

 0 As far as i know the position of objects are stored as floats. Meaning that technically the maximum value for any of the axis is about ±1.5 * 10^45 to ±3.4 * 10^38 (http://msdn.microsoft.com/en-us/library/b1e65aza%28v=vs.71%29)However because of the inaccuracy of floating points it is inadvisable to go above 5-6 digits numbers when dealing with 3D positions.The Unity grid is 100.000 units, that is probably a good value to stay under. If you find yourself hitting this value you should rethink your implementation, and scale things down.So short answer. Stay within -50.000 and 50.000 on all axis and you will be fine. more ▼ answered Jul 10 '12 at 12:40 PM Mattivc 1.7k ● 55 ● 60 ● 67 Agreed - just one thing - scaling can be an issue when dealing with physics so be very careful, in general PhysX can seem to behave strangely when dealing with unrealistic sizes. Jul 10 '12 at 01:26 PM whydoidoit This is also correct. If you want the physics to be as realistic as possible then: 1 Unity unit = 1 Meter Jul 10 '12 at 01:36 PM Mattivc If you scale the world, make sure you scale the gravity and masses the same way and you shall be fine.A 4 unit high male should move double as fast as usual to the ground when falling from a double sized tower to make it look as if nothing was scaled. Jul 10 '12 at 01:45 PM captaincrunch80 Don't forget there are more physical parameters like "Drag", It's better to stick with 1u == 1m Jul 10 '12 at 02:50 PM Bunny83 add new comment (comments are locked) 10|3000 characters needed characters left ▼ Viewable by all users

By Email:

Topics:

x1334
x915
x330

asked: Jul 10 '12 at 09:57 AM

Seen: 259 times

Last Updated: Jul 10 '12 at 02:50 PM