Andy90 Posted October 9, 2023 Share Posted October 9, 2023 Hello, I would like to ask if it's possible to create physics for an entity using Blender, for instance by naming an object "physics" or something similar? Quote Link to comment Share on other sites More sharing options...
Andy90 Posted October 9, 2023 Author Share Posted October 9, 2023 Found it but i got a question. Its not that important but atm the object structure looks like this is there a method to include the collisionhull into the model itself ? Quote Link to comment Share on other sites More sharing options...
Josh Posted October 9, 2023 Share Posted October 9, 2023 From the docs: Modeling Shapes Sometimes we need finer control over physics shapes. Fortunately, it's easy to build shapes into a model and have them load automatically in Leadwerks. To do this, just add a limb in your modeling program and set the name to "collisionhull". This limb will be turned into a physics shape when the model is loaded. If you want to build a polygonal mesh collision shape, just create a limb in the model named "collisionmesh". Remember, a poly mesh collision shape does not react to physics forces, so this is good for making a low-poly collision shape for a building or other large stationary object. You can also use multiple objects in the model file to build a compound shape made of multiple pieces. If you are making a compound collision shape, it is perfectly okay to name the separate limbs "collisionhull01", "collisionhull02", etc., since Leadwerks just considers the first part of the name. Quote My job is to make tools you love, with the features you want, and performance you can't live without. 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.