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

How Do I Rotate Something Without Lag?

Asked by 8 years ago

Hello, If you are familiar with any FPS games, then you will understand what I am saying. I am trying to make arms that rotate in accordance with where the camera is rotated, and I am trying to find a way to do it without lag. I have tried Object and World vectors, but those can be very laggy. I don't think it is possible with body velocity and body gyro, but I have played games that have almost no lag and the arms move perfectly. How can I do this? How can I create the arms, and how can I constantly rotate a part without lag? Thanks for reading.

0
Have you tried CFrame.lookVector? I don't play many FPS's nor have I really scripted anything for them, but I believe CFrame.lookVector might be a good place to start. OneTruePain 191 — 8y
0
I do know CFrame.lookVector, and it is useful in most situations, but I don't think it would work entirely for this situation. Also, I'm asking how to rotate something without lag, and to do that I was wondering if I should use BodyGyro or just change the rotation of the part. Which one is all I'm asking. yoman1776 85 — 8y

Answer this question