• 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

Mathf.clamp

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

cpuman commented

Mathf.Clamp Negative min not negative? Closed

Nov 8, '18 c#·rotation·mathf.clamp

1 Reply

1 Votes

avatar image

churu asked

Mouselook not clamping

Feb 12, '17 in Help Room

0 Replies

0 Votes

avatar image

ArisingHero029 published

Limiting Camera Rotation On one Axis Only

Dec 19, '16 mathf.clamp

0 Replies

0 Votes

avatar image

hellojbb1234 edited

How do I get this to Rotate properly? Closed

Dec 18, '16 camera·joystick·camera rotate·mathf.clamp

1 Reply

0 Votes

avatar image

Content1of_akind answered

MathF.clamp not working!

Oct 7, '20 in Help Room

1 Reply

0 Votes

avatar image

DwarvenGaming published

Restricting rotation on an axis

Nov 8, '16 rotation·vector3·mathf.clamp·x-axis

0 Replies

0 Votes

avatar image

NotEnoughLemons3D commented

C# List index confusion using Mathf.Clamp

Nov 2, '16 in Help Room

1 Reply

0 Votes

avatar image

JesseFox commented

Min and Max value?

Oct 21, '16 in Help Room

1 Reply

0 Votes

avatar image

voltage asked

How to Properly Mathf.Clamp an X Rotation for Camera?

Sep 21, '16 in Help Room

0 Replies

0 Votes

avatar image

rutwikd95 published

NullReferenceException: Object reference not set to an instance of an object CameraFollow.Update ()

Sep 16, '16 camera·transform.position·mathf.clamp

0 Replies

0 Votes

avatar image

G-Reusch edited

Input Field shortening string when used with Mathf.Clamp? Closed

Feb 6, '17 ui·unity5·inputfield·mathf.clamp

0 Replies

1 Votes

avatar image

goutham12 answered

How do I clamp the y rotation of roty

Jul 8, '16 in Help Room

1 Reply

0 Votes

avatar image

Zaid26194 commented

Mathf.Clamp help required

Jul 5, '16 mathf.clamp

1 Reply

0 Votes

avatar image

AugustInSitu edited

Need coroutine to render a texture value clamped from 0 to 1 over time

Jul 4, '16 in Help Room

1 Reply

0 Votes

avatar image

UniKam edited

Space Shooter tutorial - Mathf.clamping boundaries

Jun 13, '17 in Help Room

0 Replies

2 Votes

avatar image

mikelortega commented

Mathf.Clamp acts strange when going below 0

May 31, '16 rotation·physics·axis·eulerangles·mathf.clamp

1 Reply

0 Votes

avatar image

RobbyT15 commented

How do I allow my player object to continue rotating once it's met a clamped boundary?

May 16, '16 in Help Room

1 Reply

0 Votes

avatar image

avatarair1 commented

Mathf.Clamp does not work at all.

May 14, '16 in Help Room

1 Reply

0 Votes

avatar image

5c4r3cr0w answered

Vector3 does not contain a constructor that takes 4 arguments

May 3, '16 in Help Room

0 Replies

0 Votes

avatar image

muzkie commented

Limiting the movement of a player object moved by transform.translate (Unity 5)

May 4, '16 in Help Room

0 Replies

0 Votes

avatar image

Dvionst edited

Flicker while detecting edge of screen with Mathf.clamp

Apr 11, '16 2d·touch·flickering·mathf.clamp·edge

0 Replies

0 Votes

avatar image

Fingerlights answered

MathF.Clamp Only Limiting how low my number can go, but not how high, help?

Apr 9, '16 in Help Room

1 Reply

0 Votes

avatar image

vFMXv commented

Speed exceeds the clamped value by 0.3?

Apr 6, '16 in Help Room

1 Reply

0 Votes

avatar image

Inok answered

Problem with mathf.clamp on rigid body without gravity

Apr 1, '16 in Help Room

1 Reply

0 Votes

avatar image

arksenu published

Mathf.Clamp Squishes Textures Closed

Mar 18, '16 gameobject·texture·mathf.clamp

0 Replies

0 Votes

avatar image

Heatmanofurioso commented

Mathf Clamp not working as expected

Mar 3, '16 in Help Room

1 Reply

0 Votes

avatar image

mkondor commented

Is there any way to reduce this bit of Mathf.Clamp code for spawn positions down to one line?

Feb 23, '16 in Help Room

1 Reply

0 Votes

avatar image

Zaeran answered

Trying to lock camera's Y axis and it's resetting at 0 degrees

Feb 10, '16 charactercontroller·unity5·mathf.clamp

1 Reply

0 Votes

avatar image

TheBlueInferno published

Mathf.Clamp on Camera X Axis

Feb 3, '16 camera·mathf.clamp

0 Replies

0 Votes

avatar image

Noxury commented

Clamp01 does not work?

Feb 1, '16 in Help Room

1 Reply

0 Votes

  • ‹
  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

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

rotation c# clamp camera mathf movement quaternion rigidbody boundary scripting problem limit mathf.lerp 2d vector3 eulerangles transform.position transform axis unity 5 camera rotate math gameobject clamped rotation transform.rotation transform.rotate


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