Can i create shapes and put collision into it?

I think render can do the job for creating objects thru code,…and if so,…can i put a collision into it?..

You need to elaborate a bit. What do you mean by “create shapes”? Like creating a polygon, rendering it with a texture and also using the shape as a collision object shape?

@britzl yup!..that’s right!..and sorry for the very late reply…i’m getting very busy these past few days…

Ok, so you have five alternatives when it comes to collision shapes. These are listed in this forum post: Does defold support only three shapes for collision? (SOLVED)

So you could either create a shape of more or less any kind using a tilemap or perhaps using Sven’s suggested fifth collision shape (convexshape) from the forum post above.

1 Like