I’ve been working on a building/placement system thing for a roleplay game, similar to Electric State DarkRP. Here’s how it looks so far:
My main issue with this however is the fact that rotation is very slow, only rotating by 15 degrees each time you press R. To solve this, I wanted to make rotation like how it is in Electric State, where it rotates based on how you move your cursor, with a rotation increment. Here is an example of what I mean: (my cursor is slightly off due to recording software)
I have attempted to replicate this in a few different ways, but math is not my strong suit, and most of the time it ends up either barely rotating the object at all or just glitching it all over the place. Help would be appreciated. Thanks!
This mostly worked, thanks. My only current problem though is the fact that I cant figure out how to increment the rotation, as well as keep the offset of the last rotation so that the prop doesn’t just point directly at the mouse, because that feels weird to use, so ill try to figure it out.
where x being your value and y being your increment and for offset just add the offset before you start rotating it. Like before the part starts rotating I suppose you can add offset? Or something I didnt quite understood this.