mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
e3a06c3a9e
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 |
||
---|---|---|
.. | ||
basis_universal | ||
bmp | ||
bullet | ||
camera | ||
csg | ||
cvtt | ||
dds | ||
denoise | ||
enet | ||
etcpak | ||
fbx | ||
freetype | ||
gdnative | ||
gdscript | ||
glslang | ||
gltf | ||
gridmap | ||
hdr | ||
jpg | ||
jsonrpc | ||
lightmapper_rd | ||
mbedtls | ||
meshoptimizer | ||
minimp3 | ||
mobile_vr | ||
mono | ||
navigation | ||
ogg | ||
opensimplex | ||
opus | ||
pvr | ||
raycast | ||
regex | ||
squish | ||
stb_vorbis | ||
svg | ||
text_server_adv | ||
text_server_fb | ||
tga | ||
theora | ||
tinyexr | ||
upnp | ||
vhacd | ||
visual_script | ||
vorbis | ||
webm | ||
webp | ||
webrtc | ||
websocket | ||
webxr | ||
xatlas_unwrap | ||
modules_builders.py | ||
register_module_types.h | ||
SCsub |