I usually use hinges to rotate objects, but I want to make sure so performance-wise, that things run smoothly without any, or less lag issues. So what’s the best way to rotate an object?
Are you experiencing lag from hinges? if done correctly, they shouldn’t impact performance, and if they are perceived to affect performance it is probably from an underlying issue related to the objects, such as network ownership or such.
They are also more realistic in terms of the physics. Like anything with physics it will affect performance if they are interacted with.
That being said, i guess it would depend on what you are rotating and why… meaning are you going to interact with it, or just let it spin?
It depends a lot on what the exact usecase is. I’d generally recommend using physics constraints, but not always.
In my case, ventilations.
So you’d expect them to rotate all the time.
Yeah, I’d use physics constraints.
If you want, and if they are small and just visual, you could program them to cframe every renderstep on the client.