#Strange rotating object
1 messages · Page 1 of 1 (latest)
Ok put the code here or take a picture
#854851968446365696 has instructions on how to paste it in
it doesn't let me?
The bot deletes spam
use pastebin to send chunks of code.
I think that words
I think I have some useless variables like old ones I forgot to delete so :l
@uncut kayak how exactly is it rotating? Flipping? Rolling? Or just faces one side and the the other
my guy is literallty a cube
and is just moving
like when I press W it just moves forward
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
Ok I think I know the issue now. Go into your rigidbody in the inspector and go to contraints
Toggle the ones you want on
OHHHH do I put on freeze rotation?
If you don’t want it to rotate at all on all axis’s, you can tick all of them
Yeah
It’s basically part of the physics engine to simulate the physics like that
THANK YOU
Yay!
Not really but I’ve learned a bit just from being here
Like a year ago
I’m in a high school class for game development
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
😮
I first started with unity learn thingy this is my first game so :l
Im in middle school btw 😮
Yeah that’s fine, are you following a tutorial at the moment?
Oh just messing around?
messing around
That’s fine
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
Do you know base c#?
Or just c#
Im learning how to code C# in Unity
Oh ok, it’s good to at least have an understanding of c#
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>
I’ve made some projects while in school but none are completely finished
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?
Yeah some high schools and colleges have it as a class
ur in US right
Yeah
R u like top in the class?
I’m think I’m pretty decent, I don’t think I’m the top of my class