Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to enable/disable rotation?

Very new to Game Development, and I'm following the "How to Make a Game in Unity", How do I disable rotation by default but enable it upon colliding? When I start the game, the cube starts to rotate very slowly even though there are no external forces or objects, and I have all the "Rotation" scales at 0. Is there a way to disable rotation in the code until it collides? Thanks. Also, in Brackey's tutorials when he presses "." it brings up a drop down/suggestion bar. If there is a way to enable that in Visual Studio, I'd really appreciate where to find it. Thanks!

Answers

  • HNJHNJ Member

    What components have you attached to the Cube?

Sign In or Register to comment.