Add x,y bounding box size based on model size
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
Get Construct 3 3DObject Plugin - SDK V1 only
Download NowName your own price
Construct 3 3DObject Plugin - SDK V1 only
Construct 3 3DObject, loaded from 3D model files (gltf embedded format)
Status | Released |
Category | Assets |
Author | kindeyegames |
Tags | 3D, construct, construct-3 |
More posts
- Fix vector color for models with vertex color2 days ago
- Fix black color render in r441+2 days ago
- Fix for unbound buffers (init before 3DObject)2 days ago
- Fix for frag light effect with r441+35 days ago
- Fix for r441+35 days ago
- Fix sliders for ssao-cube example48 days ago
- Add SSAO which uses view space48 days ago
- Optimization - create common UBO per model55 days ago
- Fix UBO support for non-skinned meshes59 days ago
- Add UBO support for bones transfer, 256 total66 days ago
Leave a comment
Log in with itch.io to leave a comment.