#how to convert mesh to collision object

1 messages · Page 1 of 1 (latest)

gloomy cairn
#

how do I convert a mesh into a collision shape
I have a mesh that's literally just a box , with 6 sides, and i want it to be a collision box instead
but it dont want to do that its being very meen

kind radish
#

add a collision2d as a child to your mesh sprite2d

gloomy cairn
#

No this is 3D

#

It's 3D shapes and meshes, not 2D images

native crane
#

Why not just use a CollisionShape3D and a box shape collider?

gloomy cairn
#

cuz its a very specific size that cannot be easily replicated if I do that

#

u see I made it in blender

merry wharf
#

Mesh has create_convex_shape()

#

though convex shapes are going to be a slow slower than making a box shape