A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
I tried again, I made it worse. All the tutorials I found were not what I need. Is it different for touch location, on Android ?
Not really. Actually I want to move my 'target' to the click location (worldPos). I tried your code but it didn't work (it didn't move but in my...
So what should I do ? I tried to use Lerp too but, It didn't work at all. If you don't mind, can you help me making this code work properly ? I...
Nonono... I want it to to MoveTowards, but it teleports, I DON'T want it to teleport. Do you want a video proof ? I can do it fast. edit: I tried...
Still the same, nothing changes, not even the speed. Do you need a video proof of the problem ?
I have this code: #pragma strict var speed : float = 2f; public var worldPos:Vector2; public var target : Transform; public var cameraloc:Camera;...
I have this code: #pragma strict public var hpPoints : float = 3; public var CurrentHP : float = 3; function Start () { } function Update () {...
I know I have to hit something to trigger it, but as I said, it told me that I lost WITHOUT hiting anything, which is wrong. I think the problem...
Hi. Thank's for replying. Actually you are right, the tag was "Obstacle" instead of "obstacle" but now, I got another problem. When I start the...
I have this script on my car: #pragma strict publicvar hpPoints :float=3; publicvarCurrentHP:float= hpPoints; functionStart(){ }...
I just opened another scene, and when I come back to the first, I got my animation fully bugged. I animated an object to move, and now my...
Thank you very much guys. I finally made it with "public var minx/maxx/minz/maxz", and it worked as I wanted. Really nice help guys, I wish you...
@Dantus It works with float (doesn't give any error), but still, I can't change the minx/maxx/minz/maxz. This is my script put on my car: [IMG]...
The error disapeared, but now I get 4 errors almost the same , to that line. Operator '<' cannot be used with a left hand side of type 'float'...
Hi guys. I have this script, actually made by me: #pragma strict public var position: Vector3; function Start () { } function Update () { var...