Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • CreatiCode
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

CreatiCode Scratch Forum

  1. CreatiCode Forum
  2. Help
  3. Player's rotation bugs when it goes 180°

Player's rotation bugs when it goes 180°

Scheduled Pinned Locked Moved Help
6 Posts 2 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • TheNicknameGovT Offline
    TheNicknameGovT Offline
    TheNicknameGov
    trusted helpers
    wrote on last edited by
    #1

    https://play.creaticode.com/projects/679bd3b9e83001fc08db4cae

    I can’t figure out the problem

    (a & d to rotate, W to move)

    Please help all my projects are 3000+ blocks

    CreatiCodeI 1 Reply Last reply
    0
    • TheNicknameGovT TheNicknameGov

      https://play.creaticode.com/projects/679bd3b9e83001fc08db4cae

      I can’t figure out the problem

      (a & d to rotate, W to move)

      CreatiCodeI Offline
      CreatiCodeI Offline
      CreatiCode
      wrote on last edited by
      #2

      @011830-0a42ef84

      To make an object rotate, there are 2 separate methods, but you can not mix them:

      Method 1: operate on the mesh directly, such as using the “set speed” block

      Method 2: delegate the control to the 3D physics engine, then set the rotation speed on the physics body.

      In your case, you are using the physics engine, so the “set speed” block won’t work.

      In general, it is much easier to operate on the mesh object yourself instead of using the physics engine, since you have much more control. You only need to use the physics engine when you need very realistic physics simulations.

      TheNicknameGovT 1 Reply Last reply
      0
      • CreatiCodeI CreatiCode

        @011830-0a42ef84

        To make an object rotate, there are 2 separate methods, but you can not mix them:

        Method 1: operate on the mesh directly, such as using the “set speed” block

        Method 2: delegate the control to the 3D physics engine, then set the rotation speed on the physics body.

        In your case, you are using the physics engine, so the “set speed” block won’t work.

        In general, it is much easier to operate on the mesh object yourself instead of using the physics engine, since you have much more control. You only need to use the physics engine when you need very realistic physics simulations.

        TheNicknameGovT Offline
        TheNicknameGovT Offline
        TheNicknameGov
        trusted helpers
        wrote on last edited by
        #3

        @info-creaticode Can you make an example? I don’t completely understand what you mean

        Please help all my projects are 3000+ blocks

        CreatiCodeI 1 Reply Last reply
        0
        • TheNicknameGovT TheNicknameGov

          @info-creaticode Can you make an example? I don’t completely understand what you mean

          CreatiCodeI Offline
          CreatiCodeI Offline
          CreatiCode
          wrote on last edited by info-creaticode
          #4

          @011830-0a42ef84

          Sure. To make the avatar rotate, since it already has physics body, you need to use this block at the bottom:

          3ed3dc46-53ec-4b14-9f07-f4008643d7fa-image.png

          TheNicknameGovT 1 Reply Last reply
          0
          • CreatiCodeI CreatiCode

            @011830-0a42ef84

            Sure. To make the avatar rotate, since it already has physics body, you need to use this block at the bottom:

            3ed3dc46-53ec-4b14-9f07-f4008643d7fa-image.png

            TheNicknameGovT Offline
            TheNicknameGovT Offline
            TheNicknameGov
            trusted helpers
            wrote on last edited by
            #5

            @info-creaticode will this help the player turn it’s full rotation without snapping back to the original angle?

            Please help all my projects are 3000+ blocks

            CreatiCodeI 1 Reply Last reply
            0
            • TheNicknameGovT TheNicknameGov

              @info-creaticode will this help the player turn it’s full rotation without snapping back to the original angle?

              CreatiCodeI Offline
              CreatiCodeI Offline
              CreatiCode
              wrote on last edited by
              #6

              @011830-0a42ef84

              Can you try it and let us know if there is any problem? You can also try to get help from our AI assistant.

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • CreatiCode