I’m trying to create a collision for a building from Act 1 in my PlayCanvas project.
I imported the model from Sketchfab as a GLB file.
The problem is: after importing, only a Render Asset is created.
There is no option to “Generate Model Asset”, so Mesh Collision does not work.
The model contains multiple parts (walls, supports, floor) in a single Entity.
I cannot upload external files (like FBX), because I must work entirely inside PlayCanvas.
Manually recreating the building with Box/Compound collisions would take a lot of time.
Could someone please advise how to create an accurate collision for such a model entirely inside PlayCanvas, without using external files?
Is it possible using the Render Asset, Compound Collision, or a script?
It looks like you should use a rigidbody and a compound collision component on the parent entity, and then assign the individual meshes to the collision components of the child entities. You could probably script this process, but given the number of parts I would do it manually.