Channel Avatar

OrtyhueyGD @UCf0yTW4kUD9pEZt1pAGuKsg@youtube.com

206 subscribers - no pronouns :c

Subscribe for a cookie! šŸŖ


Welcoem to posts!!

in the future - u will be able to do some more stuff here,,,!! like pat catgirl- i mean um yeah... for now u can only see others's posts :c

OrtyhueyGD
Posted 1 month ago

Itā€™s been a whileā€¦

2 - 1

OrtyhueyGD
Posted 2 months ago

ā€Ŗ@Herobrinepleaz9ā€¬ yo I got banned from commenting for 13 hours (I have no idea why) but ig thatā€™s the first time Iā€™ve seen you plug your discord server

4 - 2

OrtyhueyGD
Posted 2 months ago

YOO GUYS I JUST 200 SUBSCRIBERS BUT I WASNT PERPARED??!!?! SO IM LEAVING IT TO YOU GUYS WHAT I SHOULD DO!

3 - 8

OrtyhueyGD
Posted 2 months ago

Ok yea never mind some HOLIGAN UNSUBSCRIBED HOW DARE YOU

2 - 1

OrtyhueyGD
Posted 2 months ago

Ok here me outā€¦ some random lucky person could be my 200th subscriber?

3 - 1

OrtyhueyGD
Posted 2 months ago

Ok so I got the account backā€¦

2 - 1

OrtyhueyGD
Posted 2 months ago

My discord account got hackedā€¦

3 - 3

OrtyhueyGD
Posted 3 months ago

You thought I would leave you hanging? Free Running script for unity (works with the last one)

using UnityEngine;

public class PlayerMovement : MonoBehaviour
{
public float moveSpeed = 5f; // Speed of normal movement
public float sprintSpeed = 10f; // Speed when sprinting
public float rotationSpeed = 180f; // Speed of rotation

private bool isSprinting = false;

void Update()
{
// Input handling
float horizontalInput = Input.GetAxis("Horizontal"); // A/D keys or left/right arrow keys
float verticalInput = Input.GetAxis("Vertical"); // W/S keys or up/down arrow keys
bool sprintInput = Input.GetKey(KeyCode.LeftShift) || Input.GetKey(KeyCode.RightShift); // Shift key for sprinting

// Determine current speed
float currentMoveSpeed = isSprinting ? sprintSpeed : moveSpeed;

// Movement calculation
Vector3 moveDirection = new Vector3(horizontalInput, 0f, verticalInput).normalized;
Vector3 movement = moveDirection * currentMoveSpeed * Time.deltaTime;

// Rotate the player towards the movement direction (if moving)
if (moveDirection != Vector3.zero)
{
Quaternion targetRotation = Quaternion.LookRotation(moveDirection);
transform.rotation = Quaternion.RotateTowards(transform.rotation, targetRotation, rotationSpeed * Time.deltaTime);
}

// Move the player
transform.Translate(movement, Space.World);

// Check for sprint input
if (sprintInput && !isSprinting)
{
isSprinting = true;
}
else if (!sprintInput && isSprinting)
{
isSprinting = false;
}
}
}

1 - 0

OrtyhueyGD
Posted 3 months ago

Free Movement script for unity:

public class PlayerMovement : MonoBehaviour
{
public float moveSpeed = 5f; // Speed of movement
public float rotationSpeed = 180f; // Speed of rotation

void Update()
{
// Input handling
float horizontalInput = Input.GetAxis("Horizontal"); // A/D keys or left/right arrow keys
float verticalInput = Input.GetAxis("Vertical"); // W/S keys or up/down arrow keys

// Movement calculation
Vector3 moveDirection = new Vector3(horizontalInput, 0f, verticalInput).normalized;
Vector3 movement = moveDirection * moveSpeed * Time.deltaTime;

// Rotate the player towards the movement direction (if moving)
if (moveDirection != Vector3.zero)
{
Quaternion targetRotation = Quaternion.LookRotation(moveDirection);
transform.rotation = Quaternion.RotateTowards(transform.rotation, targetRotation, rotationSpeed * Time.deltaTime);
}

// Move the player
transform.Translate(movement, Space.World);
}
}

1 - 0

OrtyhueyGD
Posted 3 months ago

Hello everyone! Even though I'm a Geometry Dash Youtuber, I decided that me, the terrible coder, would tackle trying to make a game in unity...












Someone please tell me what I'm getting into...

1 - 0