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.
[ATTACH] using this another script, if I left click I can instantiate a "Joint", and if I right-click, it instantiates it and sets its "Fixed"...
I'll be honest I didn't even know this was a thing, I'll look into some tutorials then, thanks!
In my game, the player is able to rotate their gravity in a corridor platformer, which in turn Lerps the player's rotation to the right rotation...
Nevermind I'm working on moving it to a more simple and hopefully working system
I'm trying to use this code to smoothly rotate a player to a different rotation, but no matter what I set the move time to it just instantly...
This is great thanks so much :)
Working on a little project where the player has to get their character to an endpoint, I want to make it so that when the player touches the...
Thank you so much, I set the variable to private and that fixed the whole thing.
public float sensitivity = 50f; public float maxYAngle = 80f; private Vector2 currentRotation; public Transform Player; public...
so i've made that change but now the error says: Assets\Scripts\Gameplay.cs(41,37): error CS0117: 'Random' does not contain a definition for...
public int Player1Char; void FixedUpdate() { if(Randomize == true) { Player1Char = System.Random.Next(1, 6);...
void Start() { var pos = new Vector2(Screen.width, Screen.height); transform.position = Camera.main.ScreenToWorldPoint(pos);...
Oh S*** I'm dumb XD, completely didn't see that because the error focused on the &&
thanks for the fix, I might not use the second part though because since this code has been written to have scaling dash speed comparative to...
public class Movement : MonoBehaviour { private Vector3 mousePosition; public float moveSpeed = 0.5f; public bool isMoving = false;...
thanks, honestly I forget wayyyy to often, and most of the time only put the f in the original definition for the float
if (Input.GetKeyDown(KeyCode.LeftShift)) { MaxSpeed = 2.5f; Player.transform.localScale += ScaleChange;...
function OnCollisionEnter(UnityEngine.collision.CollisionInfo) { if (collision.gameObject.tag == "Ground") {...
already done some tutorials, and I've set up the camera rig and player and all the other scripts I really need for now, it's just this one that I...
I'm trying my first hand at game dev, working on a third person, force/rigid body based games, and I've tried my hardest but I just can't figure...