(3D) How do i visualize hitboxes for debugging?

Hi!

I need to visualize the hitboxes of a 3D Physics object.

Example:


No hitbox visualized.


Hitbox visualized, in blue.

And no… i dont think using a 3d model and visualizing it manually will work, because how am i supposed to confidently and accurately know where the hitbox is if im desperately trying to figure that out by visualizing it

How do i do this? is there some sort of function that can do this, whether its an action or not?

You are in luck! Because I did all the struggle to calculate the hitbox positions by getting the information from the physics3D calculations.

https://eldarduil.itch.io/show-3d-collision-shapes-for-gdevelop

nope, this actually isnt helping at all. its still acting very eratically

guess im just doing something wrong

In 3D Editor view, hitboxes might shown wrongly and updates will not be immediate. It is because there is a limitation on gdevelop that behaviors does not trigger hot reload. There are informations about that in the behavior and also in the itchio page.

From your screenshot it looks like you applied some offset to the collision shape of that object and also set custom dimensions.

if you explain what is troubling you I could help.

i simply ditched the object and started with a new one, its working..okay now. also, no, that was the game view