Henjin
  • Member for 6 years, 1 month
  • Last seen more than 1 year ago
  • Najafabad, Isfahan Province, Iran
Raycasting from 3D object to UI canvas!
Accepted answer
2 votes

The problem is with the ray casting code. By taking a look at the documentation page I realized that for getting the direction I have to subtract the player from target, and I was doing the opposite ...

View answer
Unity bounds includes the center of the scene
Accepted answer
2 votes

As @DMGregory said the problem was that if I create a new bound to initialize the variable, it means I'm creating a bound that is located in the center of the scene and has 0 extents. So all I had to ...

View answer
Send failed since rewinding of the data stream failed
1 votes

For anyone getting this error in the future, your server might be configured to redirect some kinds of requests. In my case I was requesting GET with an address like:"http://www.website.com/". AFAIK ...

View answer
Unity is Single Thread by how do WWW with coroutine work Async
0 votes

A coroutine runs on the main thread but when ever you use a yield return, it tells the program to stop operating this function, save the state of the function and continue executing the rest of the ...

View answer
How to control a 2d charter in an top-down android game with the standard joystick?
Accepted answer
0 votes

In the mathf class there is a function called Atan2, which is exactly what is needed here. so all that is needed to be done is to use the mobile single stick control in the cross-platform standard ...

View answer
Dual touch controls turning on one axis
-1 votes

I don't know what exactly is the problem with the FPS character and why it works in windows and not in android but I tested the Rigid body FPS character and it worked in android.

View answer