Cube rotation

Hello there – we have an experimental AI bot :robot: that might be able to help you with your question. Would you like to try this out?

How it works:
Reply to the messages of the bot that end with a thread_id to interact with it and ask follow-up questions. You can also mention the bot directly in this channel to get help.

Help requested: please wait a moment…

Original Post on Discord

Hello Aya Ali!

I’m here to assist you. Let’s focus on the issue you’re encountering with rotating a cube in Needle Engine. Could you please provide me with the specific code you’ve used or describe the steps you’ve taken based on the Needle Engine documentation? This will help me understand where the issue might lie and guide you towards a solution.

1 messages left GPT 4
thread_7uR0Nm10JsaDvORffPlH8CXM

Here is what I found for you :brain: Discord

Your code looks correct. The update method will indeed be called every frame, and within that method, the cube should rotate around the Y-axis based on the delta time and the specified speed.

If you’re encountering an issue where the cube isn’t rotating as expected, one possible cause could be related to how the Rotate component is attached to the cube or if the cube itself is set up correctly within the Needle Engine scene.

I would recommend checking the following:

  1. Ensure that the Rotate component is attached to the cube object in your scene.
  2. Verify that the Needle Engine scene is set up correctly with the cube object and that the Rotate component is functioning as expected within the context of the whole scene.
  3. Check if there are any errors in the console or any other parts of your code that may be interfering with the rotation.

If you’ve already checked these and the issue persists, feel free to provide more details or ask specific questions, and I’ll be happy to assist you further.

0 messages left GPT 3.5
thread_7uR0Nm10JsaDvORffPlH8CXM

Why did you delete the question @Aya Ali ?

I am sorry but I solved it , cuz of that I deleted

by user 883276031048441917

Is that wrong here?

by user 883276031048441917

Not a problem - we typically like to keep questions, because it might help others and it shows us what is commonly asked

Aha, next time I will keep it here .

by user 883276031048441917

Thanks! Glad you were able to resolve your issue :slightly_smiling_face: