Yue Posted December 21, 2021 Share Posted December 21, 2021 Is it possible to change the center of a shape assigned to a mesh? I am creating a bucket for a ragdoll on the leg part and the joint would be at one end of that bucket. Quote Link to comment Share on other sites More sharing options...
Slastraf Posted December 24, 2021 Share Posted December 24, 2021 I dont think it is possible without directly accessing the mesh in c++. You need to make a set for different body parts (legs, arms) and set the object's origin. In Blender additionally apply rotate, scale 1 Quote Link to comment Share on other sites More sharing options...
Yue Posted December 24, 2021 Author Share Posted December 24, 2021 Just now, Slastraf said: I dont think it is possible without directly accessing the mesh in c++. You need to make a set for different body parts (legs, arms) and set the object's origin. In Blender additionally apply rotate, scale I found the way, since I create the rigid bodies by programming, and it is at the time of creating the shape to change that central point on the mesh. Quote Link to comment Share on other sites More sharing options...
Marcousik Posted December 30, 2021 Share Posted December 30, 2021 On 12/21/2021 at 10:58 PM, Yue said: Is it possible to change the center of a shape assigned to a mesh? 1) You can create a shape as you want, if it is not too complex: https://www.leadwerks.com/learn?page=API-Reference_Object_Asset_Shape_Box 2) You can think about another solution: deplacing the mesh. https://www.leadwerks.com/learn?page=API-Reference_Object_Surface_SetVertexPosition 3) here there is a tutorial on how to create your own shape, creating your own .phy if I can could good remember Quote Link to comment Share on other sites More sharing options...
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.