Setting the linear velocity of a rigid body in incredibly expensive
I'm setting the linear velocity of a rigid body, but when I do so my framerate drops in half.
Weirdly I can set the linear velocity of several and the effect is only really as bad as setting one.
Is there some re-initialisation that happens every time the linear velocity of something is set?
I don't have the problem with angular velocity as you can limit it per object with a one-time function call, but for linear I need to get, clamp and set per frame as there is no per-object setting (that I'm aware of) for the max linear velocity.
I'm putting this as a bug as I'd imagine that firing that function shouldn't have such a hit on framerate.
I'm running on PS4.
asked Dec 18 '15 at 10:14 AM in Bug Reports
Thanks for the heads up. I'm going to resolve this issue for tracking purposes but once you get back in the office, just post a comment here to reopen the post.
answered Dec 28 '15 at 01:55 PM
TJ V ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here