#Strange rotating object

1 messages · Page 1 of 1 (latest)

drifting bloom
#

@uncut kayak

uncut kayak
#

OH HI

#

oh ok o kok

#

so

drifting bloom
#

Ok put the code here or take a picture

uncut kayak
#

k

#

could I just copy and paste it in>?
imma do that

#

wait

drifting bloom
uncut kayak
#

it doesn't let me?

drifting bloom
#

The bot deletes spam

uncut kayak
warped gorge
#

use pastebin to send chunks of code.

uncut kayak
#

I think that words

#

I think I have some useless variables like old ones I forgot to delete so :l

drifting bloom
#

@uncut kayak how exactly is it rotating? Flipping? Rolling? Or just faces one side and the the other

uncut kayak
#

my guy is literallty a cube

#

and is just moving

#

like when I press W it just moves forward

drifting bloom
#

Ok

#

And when you touch a side the cube rotates?

uncut kayak
#

if you walk into a wall or something

#

with one side of a cube

#

it will slowly turn that way

#

because thats physics but I dont want that to happen in my ame

#

game

drifting bloom
#

Ok I think I know the issue now. Go into your rigidbody in the inspector and go to contraints

uncut kayak
#

k

#

k im there

drifting bloom
#

Toggle the ones you want on

uncut kayak
#

OHHHH do I put on freeze rotation?

drifting bloom
#

If you don’t want it to rotate at all on all axis’s, you can tick all of them

drifting bloom
uncut kayak
#

OH HHH

#

let me experiemnt

#

IT WORKED

#

IT WORKED

#

HOLY CRAP

#

IT WORKED

drifting bloom
#

It’s basically part of the physics engine to simulate the physics like that

uncut kayak
#

THANK YOU

drifting bloom
uncut kayak
#

I will remmebr that

#

HOORAY

#

THANKS!

#

R U a pro????

drifting bloom
uncut kayak
#

😮

#

When did you start learning Unity?>

drifting bloom
#

I’m in a high school class for game development

uncut kayak
#

WOW

#

A YEAR AGO!

#

and you're already that GOOD?

#

how did you learn?

drifting bloom
# uncut kayak how did you learn?

I learned basic c# up to arrays and just picked up other things as I worked with it. Once you get to the point where you’ve learned enough to be able to understand the documentation to learn new things it helps

uncut kayak
#

😮

#

I first started with unity learn thingy this is my first game so :l

#

Im in middle school btw 😮

drifting bloom
#

Yeah that’s fine, are you following a tutorial at the moment?

uncut kayak
#

no

#

Im kinda free doing this rn

#

:l

drifting bloom
#

Oh just messing around?

uncut kayak
#

messing around

drifting bloom
#

That’s fine

uncut kayak
#

I follow tutorials if I dont know how to code it

#

After I finish this I might try to finish the Unity learn course

#

Then try make another game

drifting bloom
#

Do you know base c#?

uncut kayak
#

I just moved from scratch like 2 months ago :l

#

what is base C#

drifting bloom
#

Or just c#

uncut kayak
#

Im learning how to code C# in Unity

drifting bloom
#

Oh ok, it’s good to at least have an understanding of c#

uncut kayak
#

public float speed = 69.0f;

#

like this stuff

#

Yea I could really work on knowing more code because I barely know anything

#

Did you ever make an actual game that can actually be playable>

drifting bloom
#

I’ve made some projects while in school but none are completely finished

uncut kayak
#

Did you also know that you can upload your games onto the appstore? I really want to do that when I get really good at coding so that I can actuallyu start making some money :l e

#

you have game design in school?

drifting bloom
#

Yeah some high schools and colleges have it as a class

uncut kayak
#

ur in US right

drifting bloom
#

Yeah

uncut kayak
#

R u like top in the class?

drifting bloom
uncut kayak
#

oh ok

#

By any chance

#

DO YOU live in Hawaii?

drifting bloom
#

No sorry

#

I’m in texas

uncut kayak
#

DAMN TEXAS

#

well Im in Hawaii

#

but ok bye