Hey guys,
We’ve rolled our own system for entity picking (basically like this - https://playcanvas.com/project/436809/overview/entity-picking-without-physics) to avoid including ammo. However, we’d like to still be able to see the extents of the bounding box (we’re just using cubes at the moment) in the editor like you can on the collision component.
There is some work done, from what I know, to expose editor scripting in Playcanvas at some point. For now you will have to inject your code using a browser extension or the console, take a look at this post:
Just keep in mind that an editor item is not the same as a pc.Entity, it’s an editor observer that wraps a pc.Entity to provide the environment for editing it.