• 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

Clamp

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

SuperStarGaming235 commented

How to clamp camera rotation on Y axis?

May 21, '23 swipe·clamp·camera rotation

1 Reply

0 Votes

avatar image

rusumarius1999 asked

How can I add Clamp or something else to make limit for my camera moving?

Mar 31, '23 in Help Room

0 Replies

0 Votes

avatar image

ErkenEmekli answered

Limiting the Circle with a Rectangle

Mar 18, '23 in Help Room

2 Replies

0 Votes

avatar image

DenisIsDenis answered

How to clamp down X velocity?

Mar 13, '23 in Help Room

1 Reply

0 Votes

avatar image

LookDev answered

Clamp X position of object

Mar 5, '23 transform·vector3·clamp

2 Replies

0 Votes

avatar image

unity_C3A38A6E313DF529261F commented

how do I write ClampMagnitude?

Mar 3, '23 clamp

1 Reply

0 Votes

avatar image

Michelle_Ca edited

Clamp a forward vector to a specific range

Feb 27, '23 vector3·clamp·angles

1 Reply

0 Votes

avatar image

leonalchemist asked

Clamp position within rotated box

Feb 24, '23 clamp

0 Replies

0 Votes

avatar image

lunarwaterstudios commented

Problem with Clamping MiniMap Icons

Feb 2, '23 2d·clamp·minimap

1 Reply

0 Votes

avatar image

Turnrp commented

How can I get the Mathf.Clamp() function stay away from a middle number.

Nov 11, '22 in Help Room

1 Reply

0 Votes

avatar image

dannyr83 commented

Limit Rotation of physics object in 2D

Nov 6, '22 rotation·physics2d·eulerangles·clamp·clamped rotation

1 Reply

1 Votes

avatar image

estape answered

Scrollrect Clamp Not Working

Nov 1, '22 ui·clamp·scroll view

2 Replies

1 Votes

avatar image

ireth92 asked

How to keep ScrollRect's scroll still while adding and removing content (using clamped mode)?

Oct 19, '22 in Help Room

0 Replies

0 Votes

avatar image

Greysize answered

Mathf.Clamp Negative Rotation for the 10th Million Time

Sep 15, '22 in Help Room

2 Replies

0 Votes

avatar image

Npkhan commented

How to clamp touch value for rotation?

Sep 4, '22 rotation·touch·clamp

1 Reply

0 Votes

avatar image

ItsAnom asked

How do I clamp my player camera on y axis when I'm entering vehicle?

Aug 11, '22 in Help Room

0 Replies

0 Votes

avatar image

Adnan_SMB asked

How do I clamp rotation for android fps game I am using the standard rigid body first person controller but a bit modified

Jul 4, '22 clamp·mobileoptimization·standard assets·clamped rotation

0 Replies

0 Votes

avatar image

LEMMIIX commented

How should I Clamp a Mouseposition to a circle?

Jun 14, '22 mouseposition·clamp·inverse

2 Replies

0 Votes

avatar image

andrew-lukasik commented

Clamp without Quaternion?

Jun 10, '22 in Help Room

0 Replies

0 Votes

avatar image

YusufAfacan asked

How to remove addforce effect

Jun 4, '22 in Help Room

0 Replies

0 Votes

avatar image

kyurrii commented

Area setting when moving rigidbody

May 16, '22 rigidbody·velocity·addforce·clamp·mousedrag

0 Replies

0 Votes

avatar image

Perengano answered

Problems with 2D Camera Shaking

Apr 22, '22 camera·2d·smooth·clamp·shaking

3 Replies

0 Votes

avatar image

Jack_Veritac asked

Clamp a 2D object controlled by the mouse

Mar 26, '22 in Help Room

0 Replies

0 Votes

avatar image

Jack_Veritac commented

How do I clamp my rotation?

Mar 17, '22 rotation·clamp·first-person

4 Replies

3 Votes

avatar image

MMithy answered

How to lerp rotate the gun to the opposite of ur mouses X position and clamp it

Mar 11, '22 rotation·gun·clamp·quaternions·clamped rotation

1 Reply

0 Votes

avatar image

Fitz28 answered

Clamp camera within bounds of a Polygon Collider?

Feb 18, '22 in Help Room

1 Reply

0 Votes

avatar image

M1ngXU answered

Clamp issue

Feb 14, '22 camera·transform·clamp·clamped rotation

1 Reply

0 Votes

avatar image

sasyimmagoat asked

How to Clamp a 3rd Person Camera's x-axis Rotation?

Feb 13, '22 in Help Room

0 Replies

0 Votes

avatar image

kozakoleg284 commented

Prevent Object from going out of Circle Radius

Feb 4, '22 raycast·transform·bounds·clamp·circle

3 Replies

0 Votes

avatar image

theembracedone answered

Clamping a value between two radiuses

Dec 13, '21 in Help Room

1 Reply

0 Votes

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

Unity Answers is in Read-Only mode

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta on June 13. Please note, Unity Answers is now in read-only so we can prepare for the final data migration.

For more information and updates, please read our full announcement thread in the Unity Forum.

Related Topics

rotation c# clamped rotation camera mathf movement transform quaternion vector3 mathf.clamp limit position eulerangles 2d rotate rigidbody angle camera rotate scripting problem camera-movement bounds lerp touch translate velocity


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