Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How to spin a simple parts with torque physics force?

Asked by
Ribasu 127
6 years ago
Edited 6 years ago

I am familiarizing myself with physics in Roblox. I want to use physics to have a small and simple ball spin on itself, so I have performed the following procedure. I have inserted a part with ball shape and enabled custom physics and anchored it. I have added an attachment inside this part, and linked a torque force to this attachment (with Torque = Vector3.new(10,10,10)). My ball is not spinning/rotating, it looks like nothing is happening at all. What am I missing?

1 answer

Log in to vote
0
Answered by 6 years ago

To do a spin I'd honestly just use a BodyAngularVelocity.

Link to it's wiki page: http://robloxdev.com/api-reference/class/BodyAngularVelocity

0
I've inserted the BodyAngularForce into my part but it's not moving... :/ Ribasu 127 — 6y
0
Is it anchored? Have you set it's AngularVelocity? InfiniteYield 41 — 6y
Ad

Answer this question