About 326,000 results
Open links in new tab
  1. How to rotate a model using scripts - Scripting Support - Roblox

    Aug 7, 2021 · Hello, I have a car model, and I want to make it rotate itself, but I don’t know how to do that with scripts. I would like some tutorials or examples. Thank you.

  2. Spinning Objects - Community Tutorials - Developer Forum - Roblox

    Jan 31, 2022 · Hello, in this tutorial I wanna show you how to make spinning objects like this: Get your Object/Part (i would prefer a gear) Create a Script Inside of the Part Write or paste this inside of the script local part = script.Parent while task.wait() do part.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,0.05,0) end --we are basically rotating the part on the y axis in a loop which makes it ...

  3. How to rotate an object towards a direction - Roblox

    Jan 16, 2024 · Hey there, I have been away from Roblox for a bit and I decided to give a try to Unity and other Game Engines. I’m back on Roblox and I’m a bit confused about one point. I’m working on a game in which I have to rotate a lot of elements towards a unit direction. On Unity, we had a simple way of doing that with the Quaternion.LookRotation(dir, axisVector). For example, I’d like an arrow ...

  4. Problem rotating an object around a specific axis - DevForum

    Jul 10, 2023 · How do you rotate an object about an axis that it is not lined up with? Here’s an example: Lets take this cube. Its axes are represented by the red, green and blue lines. I want to rotate the cube about the yellow line! this is an easy task as the red axis happens to be lined up with the yellow line. If I wanted to do this via code, all …

  5. Need Help making object rotate - Scripting Support - Roblox

    Dec 4, 2020 · I have been trying to make a little spinner thing that kills you when you touch it for a simple game I am making to try and test my scripting ability. I am trying to make it rotate, but I don’t know how to had specifically to the Y value. This is what I have so far, It would also help if you explain what certain things do, since I am learning scripting and …

  6. Rotate object based on camera rotation and object rotation - Roblox

    Jun 20, 2024 · I currently have a dragging system working and moving the objects in front of my camera, but I can’t seem to figure out the rotation aspect. I want the object to retain it’s original rotation when picked up, but still rotate with the camera - somewhat like a viewmodel with its rotation offsetted. Here is a clip of my current pick up system using AlignPosition: Here is what I …

  7. How Can I Continuously Rotate A Part? - Roblox

    Jan 20, 2023 · Hey developers I feel stupid not knowing this but how can I continoulsy rotate a part around its complete 360 degrees, I am unsure what to do and the best i’ve come up with is local TweenService = game:GetService("TweenService") local Info = TweenInfo.new(5, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut, -1, true, 0) local Goals = { Orientation = Vector3.new(0, 90, 0) } local tween ...

  8. How do i make a part that orbits/rotates around another part

    Apr 28, 2024 · Hello! How could i achieve this in the most optimized way possible? Because there is going to be alot of parts that will rotate around another one. Thanks!

  9. How to rotate a part around a point while retaining the ... - Roblox

    Nov 21, 2018 · Recently, I’ve been trying to rotate a part around a single point. Roblox has made it easy to do so using the code: Object.CFrame = Point * Rotation * Offset. I’ve managed to get the part rotating around the point but I’ve also noticed that the part’s orientation turns towards the point (The same face of the part will always look at the ...

  10. Changing object rotation using mousemovement - Roblox

    Jul 14, 2020 · hello, I’m making an object where you can click and rotate whatever you want with your mouse, but I have a problem with my object rotation, I don’t want to make the object face to the mouse, but what I want to make is that the object changes their Rotation using mouse.Move without facing the mouse. for example game from Bad Business btw My attempt and here’s the code mouse.Button1Down ...

  11. Some results have been removed
Refresh