• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Rounding

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Xavier78 commented

why is my float slightly off, and how do I see it?

Jul 15, '16 float·rounding

2 Replies

0 Votes

avatar image

robertbu converted comment to answer

Unity Position Error?

Aug 16, '13 math·offset·rounding·out of bounds

1 Reply

0 Votes

avatar image

LeftRight92 commented

Advice on reducing rounding errors with transform

Mar 16, '15 transform·rounding

1 Reply

0 Votes

avatar image

antx commented

How precise is unity with it´s transforms?

Feb 14, '13 vector3·direction·compare·rounding

2 Replies

0 Votes

avatar image

HuskyPanda213 commented

Rounding transform.position? With parents

Feb 14, '14 transform·building·rounding

0 Replies

0 Votes

avatar image

SpeedTutor edited

Rounding values for GUI

Aug 17, '13 javascript·healthbar·rounding

1 Reply

0 Votes

avatar image

LittleCat1 commented

Trunciating to 0dp

Mar 26, '12 timer·rounding·zero

1 Reply

0 Votes

avatar image

samz commented

rounding up numbers - rotation

May 26, '12 rounding

0 Replies

0 Votes

avatar image

Babagazeus commented

Why does Unity round when multiplying Vector3s and floats?

Sep 16, '12 math·bugs·rounding

1 Reply

0 Votes

avatar image

CheeSen0214 commented

Auto-rounding positions of game objects dragged into scene

Sep 20, '17 position·tiles·drag-and-drop·automatically·rounding

1 Reply

0 Votes

avatar image

beau101023 edited

Rounding a position against the surface of an object.

Aug 31, '16 rotation·vector3·normals·blocks·rounding

1 Reply

0 Votes

avatar image

Rugbug_Redfern edited

Aligning objects to a grid with an offset

Apr 23, '18 grid·offset·rounding

0 Replies

0 Votes

avatar image

SoulRider edited

Rounding Errors when snapping to grid

Aug 21, '15 grid·snap·planes·rounding

2 Replies

1 Votes

avatar image

pako commented

Android joystick, rounding inputs

Dec 5, '14 joystick·rounding

0 Replies

0 Votes

avatar image

Owen-Reynolds commented

Why are my float rounding themselves out to the lowest int without me coding it out?

Oct 14, '20 in Help Room

1 Reply

0 Votes

avatar image

unity_760YUGmg7ZnXRQ asked

Rotating object while rounding off local Y axis.

Jan 26, '19 in Help Room

0 Replies

0 Votes

avatar image

OwlTeaGames answered

Align objects to differently sized grids

Jun 14, '20 vector2·maths·rounding

1 Reply

0 Votes

avatar image

vovivoh2007 answered

Rounding position with mouse constant update

May 28, '22 in Help Room

1 Reply

1 Votes

avatar image

shamblinwithshotguns edited

How do I instantiate an object to a rounded position?

Dec 22, '17 instantiate·position·rounding

2 Replies

0 Votes

avatar image

El-Deiablo answered

Hello everyone I have a problem with rounding number of my score

Jul 4, '16 in Help Room

2 Replies

0 Votes

avatar image

sarrascaeta asked

Snap vector axis in script, like in the editor?

Feb 11, '16 in Help Room

0 Replies

0 Votes

avatar image

SunnyChow answered

Particles - rounding the subject

Jan 7, '16 particles·system·fire·rounding·shield

1 Reply

0 Votes

avatar image

hexagonius commented

How round all floats with little script?

Dec 10, '16 in Help Room

1 Reply

0 Votes

avatar image

yapaysinek answered

If rotation was over 20° smoothly rotate towards the next 90°

Sep 18, '16 in Help Room

2 Replies

0 Votes

avatar image

Gizmoi asked

Floating Point Inaccuracies in Editor

Sep 4, '14 editor·rounding·floating point

0 Replies

0 Votes

avatar image

CStampGames answered

Is this a glitch??? My attackCooldown float rounding to 1, only when I use a variable. Works if I hard code in the value

Oct 29, '17 in Help Room

1 Reply

0 Votes

avatar image

Gilles_aerts edited

Looking for nearest increment of 10

Jul 29, '19 in Help Room

2 Replies

0 Votes

avatar image

iwantcreategame edited

Problem with textures on round surfaces

Jan 11, '21 in Help Room

0 Replies

0 Votes

avatar image

Bunny83 commented

Round if end's in 0

Nov 4, '21 scripting problem·rounding

2 Replies

0 Votes

avatar image

ExoticPiney answered

How to serialize/save a vector3 without all decimals?

May 3, '22 in Help Room

1 Reply

0 Votes

  • ‹
  • 1
  • 2

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Related Topics

float math decimal c# scripting problem round vector3 rounding-errors mathf transform quaternion grid numbers tostring int rotation gui accuracy timer score position console vector2 transform.position instantiate


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges