• 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

Unanswered Questions

  • All Questions
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

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

5c4r3cr0w answered

Vector3 does not contain a constructor that takes 4 arguments

May 3, '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

TheBlueInferno published

Mathf.Clamp on Camera X Axis

Feb 3, '16 camera·mathf.clamp

0 Replies

0 Votes

avatar image

GregIven commented

Help with clamping rotation, and using animations

Nov 21, '15 in Help Room

0 Replies

0 Votes

avatar image

MarbleBlue asked

Problems with camera orbiting the player based on mouse input (C#)

Oct 27, '15 in Help Room

0 Replies

0 Votes

avatar image

Nycrael asked

2D Camera shakes when player move fast

Oct 4, '15 in Help Room

0 Replies

0 Votes

avatar image

Learning-Android-Game-Development published

Mathf.Clamp() not working when changing transform.localScale?; Difference between rigidbody.position and transform.position?;

Sep 12, '15 transform.position·mathf.clamp

0 Replies

0 Votes

avatar image

rob2hutton commented

How to clamp between two rotations

Aug 20, '15 eulerangles·mathf.clamp·transform.rotate

0 Replies

0 Votes

avatar image

asimov edited

Turning a wheel to make a platform move (similar to Monument Valley)

Mar 10, '15 touch·event triggering·mathf.clamp

0 Replies

1 Votes

avatar image

awplays49 asked

Camera rotating past clamp

Dec 27, '14 clamp·mathf.clamp

0 Replies

0 Votes

avatar image

screenname_taken commented

Strange vibrating when moving camera view

Dec 25, '14 clamp·mathf.clamp

0 Replies

0 Votes

avatar image

Damo12345 commented

NEED HELP SETTING BOUNDERYS !!

Aug 21, '14 c#·mathf.clamp·boundary

0 Replies

0 Votes

avatar image

NoseKills commented

Mathf.Clamp Jumping

May 11, '14 vector3·mathf.clamp·tranform.position

0 Replies

0 Votes

avatar image

robertbu commented

eliminating angular velocity when clamp value hit?

Apr 21, '14 rotation·velocity·torque·mathf.clamp·angularvelocity

0 Replies

0 Votes

avatar image

andez commented

stuck on how to apply Mathf.Clamp c#

Feb 6, '14 mathf.clamp

0 Replies

0 Votes

avatar image

rodrigozol commented

Rigidbody.movePosition in localPosition with limited moviments?

Nov 12, '13 rigidbody·mathf.clamp·rigidbody.moveposition

0 Replies

0 Votes

avatar image

LeftyTwoGuns commented

Clamping movement range on X-axis

Oct 14, '13 movement·axis·mathf.clamp·boundary

0 Replies

0 Votes

avatar image

Kebabs published

How do I use mathf.clamp to make boundaries for a camera

Sep 18, '13 camera·clamp·mathf.clamp·side scroller

0 Replies

0 Votes

avatar image

FreeTimeDev edited

Clamping Child's Rotation Relative To Partent's

Jul 23, '13 rotation·parent·child·mathf.clamp

0 Replies

0 Votes

avatar image

nohedonist published

Using Mathf.Clamp with Accelerometer to control movement speed has slow response time, how can I smooth it out?

May 16, '13 mobile·accelerometer·acceleration·tilt·mathf.clamp

0 Replies

0 Votes

avatar image

Indiegangster published

Clamping quaternion look at

Feb 11, '13 quaternion·mathf.clamp

0 Replies

0 Votes

avatar image

RandomBinaries published

Mathf.Clamp Problem with Character Controller Script

Sep 28, '12 javascript·movement·character controller·mathf.clamp

0 Replies

0 Votes

avatar image

Posly asked

How to use Mathf.Clamp with child objects?

Feb 11, '12 rotation·parent·mathf·clamp·mathf.clamp

0 Replies

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

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