Yue Posted January 22, 2022 Posted January 22, 2022 My character has a dangling head that swings like a bell from side to side. Quote
Josh Posted January 22, 2022 Posted January 22, 2022 Try adding joint:SetStiffness(10) 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Yue Posted January 22, 2022 Author Posted January 22, 2022 1 hour ago, Josh said: Try adding joint:SetStiffness(10) For some reason it doesn't seem to work. Quote
Josh Posted January 26, 2022 Posted January 26, 2022 What do you mean by "work"? Does the code run? Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Marcousik Posted January 26, 2022 Posted January 26, 2022 Ideas: - Using SetFriction() ? https://www.leadwerks.com/learn?page=API-Reference_Object_Joint_SetFriction - Make the head have a bigger Mass() - Reduce the rotation velocity like: self.Head:SetOmega(self.Head:GetOmega()/2) Quote
nato22 Posted February 17, 2022 Posted February 17, 2022 On 1/26/2022 at 2:49 PM, Marcousik said: Ideas: - Using SetFriction() ? https://www.leadwerks.com/learn?page=API-Reference_Object_Joint_SetFriction - Make the head have a bigger Mass() - Reduce the rotation velocity like: self.Head:SetOmega(self.Head:GetOmega()/2) Thank you for the link. That worked for me! 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.