- Home /
Question by
pauladam316 · Oct 08, 2015 at 01:38 AM ·
unity 5functionmath
How to do x^-1
As the title says, is there a function that can raise a number to -1?
Comment
Answer by landon912 · Oct 08, 2015 at 01:41 AM
You could do it yourself and simply put it as (1/x) or use Mathf.Pow()
Your answer
![](https://koobas.hobune.stream/wayback/20220612040441im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unity Profiler - Physics optimization (FPS drop) 0 Answers
How to segment a number line of game objects between two points dynamically? 1 Answer
Getting the current 'Forward' direction Vector values into code and how to use them? 1 Answer
Bool function not running when called from other script 2 Answers