summaryrefslogtreecommitdiff
path: root/platform/javascript/js/libs/library_godot_os.js
diff options
context:
space:
mode:
authorAndreaCatania <info@andreacatania.com>2021-08-22 18:19:13 +0200
committerAndreaCatania <info@andreacatania.com>2021-09-08 08:12:51 +0200
commite3a06c3a9ed8545e1ab5b807d106ebfb8a15e995 (patch)
tree658c4464494ee2ad4afe36bc9584cae2205cdd0b /platform/javascript/js/libs/library_godot_os.js
parent3127cc4fd42f6a549d65bc7242eb4a3818f28476 (diff)
Improve collision generation usability in the new 3D scene import workflow.
With this PR it's possible to add a collision during the Mesh import, directly in editor. To generate the shape is possible to chose between the following options: - Decompose Convex: The Mesh is decomposed in one or many Convex Shapes (Using the VHACD library). - Simple Convex: Is generated a convex shape that enclose the entire mesh. - Trimesh: Generate a trimesh shape using the Mesh faces. - Box: Add a primitive box shape, where you can tweak the `size`, `position`, `rotation`. - Sphere: Add a primitive sphere shape, where you can tweak the `radius`, `position`, `rotation`. - Cylinder: Add a primitive cylinder shape, where you can tweak the `height`, `radius`, `position`, `rotation`. - Capsule: Add a primitive capsule shape, where you can tweak the `height`, `radius`, `position`, `rotation`. It's also possible to chose the generated body, so you can create: - Rigid Body - Static Body - Area
Diffstat (limited to 'platform/javascript/js/libs/library_godot_os.js')
0 files changed, 0 insertions, 0 deletions