itch.io is community of indie game creators and players

Devlogs

Add x,y bounding box size based on model size

Construct 3 3DObject Plugin - SDK V1 only
A browser asset pack made in HTML5

Add x, y bounding box based on the model x,y size. In the editor, the bounding box will resize based on the model scale and orientation. The y origin is at the bottom of the bounding box, the x origin is in the middle of the bounding box.

During runtime, the initial bounding box is set on the creation of the 3DObject. To reduce CPU performance requirements, the bounding box during runtime will only be updated when the update bounding box action is called.

In general, I still recommend collisions, etc. be based on another sprite or object and the 3DObject position tied to the other sprite / object for collisions, etc.

Files

  • 3DObject-2-12-0.c3addon 48 kB
    Jan 27, 2022
Download Construct 3 3DObject Plugin - SDK V1 only
Leave a comment