• 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

PlagueT edited

If parent rotates, the child's rotation towards mouse is disturbed.,Parent rotation disturb child rotation towards mouse

Dec 10, '20 rotation·transform.rotation·mathf.clamp·localrotation

0 Replies

0 Votes

avatar image

impisus_unity edited

How do I limit the roll of a game object?

Dec 7, '20 in Help Room

0 Replies

0 Votes

avatar image

Bunny83 commented

Camera shaking and barely moving after adding a clamp to x rotation?

Oct 17, '20 clamp·mathf.clamp

2 Replies

0 Votes

avatar image

Content1of_akind answered

MathF.clamp not working!

Oct 7, '20 in Help Room

1 Reply

0 Votes

avatar image

streeetwalker commented

Error when importing mathematics

Oct 3, '20 in Help Room

2 Replies

0 Votes

avatar image

wuddadid commented

how to clamp acceleration?

Sep 15, '20 acceleration·mathf.clamp·constant·motor

1 Reply

0 Votes

avatar image

mephistoII666 answered

I don't like Matf.clamp what to do ?

Aug 28, '20 scripting problem·settings·bounds·mathf.clamp·boundary

2 Replies

0 Votes

avatar image

jullykado published

Mathf.Clamp with the rigidbody Closed

Aug 18, '20 position·mathf.clamp

1 Reply

0 Votes

avatar image

Cryno1000 asked

Chambering new round script not working

Jun 20, '20 scripting problem·script error·mathf.clamp

0 Replies

0 Votes

avatar image

_-puppytails-_ commented

I am trying to clamp a camera, however the camera "jumps"

May 14, '20 mathf.clamp

1 Reply

0 Votes

avatar image

_-puppytails-_ commented

Camera not clamping Closed

May 13, '20 mathf.clamp

0 Replies

0 Votes

avatar image

Bunny83 answered

Mathf.Clamp not functioning

May 11, '20 math·mathf.clamp

1 Reply

0 Votes

avatar image

Lionheart7 commented

Mathf.Clamp on Z-Axis to limit rotation using transform.Rotate

Apr 30, '20 mathf.clamp·z-axis

1 Reply

0 Votes

avatar image

MagisterTerran commented

Limit swipe force between 2 float for joystick

Apr 4, '20 in Help Room

1 Reply

0 Votes

avatar image

Wakaar edited

transform.position assign attempt for 'RCCMainCamera' is not valid. Input position is { NaN, NaN, NaN }. UnityEngine.Transform:set_position(Vector3)

Mar 24, '20 in Help Room

1 Reply

1 Votes

avatar image

zacharygears edited

Trying to restrict the distance the player can zoom a 3D camera (not FOV!)

Mar 15, '20 camera·camera movement·mathf.clamp·mathf.lerp

1 Reply

0 Votes

avatar image

TRAUHR answered

why is my player sticking to mathf.clamp?

Mar 9, '20 in Help Room

2 Replies

0 Votes

avatar image

Hovl answered

How to make a gameobject have a rotation constraint?

Mar 5, '20 rotation·quaternion·transform.rotation·mathf.clamp

1 Reply

0 Votes

avatar image

Mikzalianz edited

How to clamp transform.Rotate values?

Sep 24, '19 in Help Room

0 Replies

0 Votes

avatar image

Namey5 answered

rotation won't rotate properly

Aug 23, '19 rotation·rotate·mathf.clamp

1 Reply

0 Votes

avatar image

Bunny83 answered

Is it possible to Mathf.Clamp the position.x of Camera.main.screenToWorldPoint(Input.mousePosition)?

Jul 4, '19 screentoworldpoint·mouse position·mathf.clamp

1 Reply

0 Votes

avatar image

Dozy- published

How do you make slider children equally decrease when slider parent decreases?

May 31, '19 update·slider·mathf.clamp

0 Replies

0 Votes

avatar image

Bunny83 edited

Restricting movement with Mathf.Clamp

May 18, '19 c#·scripting problem·mathf.clamp

4 Replies

3 Votes

avatar image

XenoRo edited

Limiting rotation to 75 degrees to the left and 75 to the right

May 7, '19 rotation·mathf.clamp·constraints

4 Replies

0 Votes

avatar image

Atlantatopher published

Little problem with Mathf.Clamp as used in Space Shooter Tutorial

Apr 11, '19 movement·space shooter·mathf.clamp·boundary

8 Replies

2 Votes

avatar image

erthwormsam commented

Two Strange MathF Clamp Issues: The Disabling of OnMouseDrag

Apr 9, '19 mathf.clamp·onmousedrag

2 Replies

1 Votes

avatar image

Yacob3 commented

Locking movement in the X and Z axis

Apr 2, '19 c#·mathf.clamp

2 Replies

0 Votes

avatar image

SheZii answered

Using Mathf.Clamp in unity for boundries

Feb 7, '19 phone·tilt·mathf.clamp·tilting

2 Replies

0 Votes

avatar image

Merced_3 asked

How Do I Make The Camera Orbit Stop at a Certain Point?

Nov 20, '18 camera·stop·orbit·mathf.clamp·camera rotation

0 Replies

0 Votes

avatar image

Montreal asked

Limit camera pan not working

Nov 15, '18 camera·mathf·camera movement·mathf.clamp

0 Replies

0 Votes

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

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

rotation c# clamp mathf camera movement rigidbody boundary limit scripting problem mathf.lerp quaternion 2d vector3 camera rotate eulerangles transform.position transform axis unity 5 math gameobject clamped rotation velocity screen
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges