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 don't wanna walk on a sphere. I will have a sphere in my game with difference sizes. I just want when the player collides it will attach it self...
This script has nothing to do with what i want.
I'm trying to create this player which at collision will stay attached at the impact point on the surface of the sphere. regardless of the size of...
I tried to instantiate my UI prefab which is a quest window, but it is not displaying on the screen, it does appear in the hierarchy. // On...
in the for each both, button and the child gets deactivated, I tried many attempts but I am stuck how to loop only through the child, child and...
// Find all child obj and store to that array foreach (Transform child in transform) { /*allChildren[i] =...
So I'm checking if any grandChildren are active if so then deactivate the active one, but I get some errors. 40: Cannot implicitly convert type...
so iam using Vector3 worldPos = Camera.main.ScreenToWorldPoint(mousePos); i debugged logged it and the position is: (0.00, 9.91, -3.15) so...
I fixed the null.reference already with return. I just need to know what i asked above.
I have improved the code and it works and I understand why the object takes the position of hit.point, but how can it follow the mouse I have no clue.
public class PickableObject : MonoBehaviour { private bool pickedUp; // Update is called once per frame private void Update()...
my scene setup is pivot, local. i also get the error when i click on empty space instead of a object. [ATTACH]
i do hit i fixed it. just the object flies far away
ofcourse I put it on my camera.
private void PickUpObject() { // Store position of mouse Vector3 mousePos = Input.mousePosition; Ray ray =...
where? should i change camera.main.transform because you cant do that.
Physics.Raycast(mousePos, transform.forward, error goes away but i dont hit the object.
I can't figure out why this doesn't work, when I use raytopoint i get a hit back. When I nullcheck for hit, there is no return. public class...
I lack good planning and focus. For example with Japanese, I can easily focus because it is more interactive.
My strategy definitely stinks for sure.