• 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

Bunny83 commented

Version of Transform.TransformPoint which is unaffected by scale?

Mar 6, '21 scale·worldspace·localposition·rounding·transform.transformpoint

2 Replies

2 Votes

avatar image

frankyiu2010 commented

How to make a button with rounded corners?

Feb 21, '21 gui·button·rounding·corner

3 Replies

1 Votes

avatar image

iwantcreategame edited

Problem with textures on round surfaces

Jan 11, '21 in Help Room

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

OwlTeaGames answered

Align objects to differently sized grids

Jun 14, '20 vector2·maths·rounding

1 Reply

0 Votes

avatar image

Bunny83 answered

Rounding Off A Float?

Apr 14, '20 float·round·off·rounding

2 Replies

1 Votes

avatar image

Wolfram commented

Vector3.ToString

Jan 22, '20 vector3·tostring·rounding

3 Replies

5 Votes

avatar image

jmarcos007 edited

How to display extra 0 at the end of decimal

Aug 6, '19 in Help Room

2 Replies

1 Votes

avatar image

Gilles_aerts edited

Looking for nearest increment of 10

Jul 29, '19 in Help Room

2 Replies

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

Rugbug_Redfern edited

Aligning objects to a grid with an offset

Apr 23, '18 grid·offset·rounding

0 Replies

0 Votes

avatar image

Cresspresso answered

C# Round either up or down at .5

Feb 16, '18 c#·rounding

2 Replies

0 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

Bunny83 commented

How to round the coordinates of a game object to an integer or "nice" number?

Dec 16, '17 transform.position·rounding

1 Reply

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

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

therealFrEiz commented

Rounding position with mouse constant update

May 8, '17 in Help Room

0 Replies

0 Votes

avatar image

lyn-ith answered

How do i stop Vector3 from rounding? Closed

Apr 15, '17 in Help Room

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

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

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

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

Shiro_Rin commented

ToString ("f0") is rounding my float

Mar 13, '16 in Help Room

1 Reply

1 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

Polraudio edited

Dont round decimal places?

Sep 27, '15 in Help Room

2 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

tanoshimi answered

Double Round Problems

Apr 27, '15 float·rounding

1 Reply

0 Votes

avatar image

LeftRight92 commented

Advice on reducing rounding errors with transform

Mar 16, '15 transform·rounding

1 Reply

0 Votes

  • 1
  • 2
  • ›

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

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


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