itch.io is community of indie game creators and players

Devlogs

Initial direct 3DObject integration

Construct 3 3D Physics
A browser asset pack made in HTML5

Initial 3DObject integration - also requires latest version of 3DObject (2-56-0+).

Use shape property to specify shape.

Size is set by first animation/pose bounding box.

Auto sets a box shape.

Box sets a box shape.

Sphere set a sphere shape w/ radius width/2

Cylinder set a 12 segment cylinder shape with height y and radius x/2.

In the future I will create a way to override the settings.

The initial angle will be a default set by the physics body. In the future will look at ways to set the initial angle based on the 3DObject initial angle.

To center the 3DObject center w/ the physics object center, use the Set Local Center ACE. The units are in the _original_ model units, _not_ the scaled units from the scale properties. Some models will not require this (e.g. the soccer all already has a center of 0), others do (the cleric model center is at the bottom of the feet.)

Files

  • mikal_cannon_3d_physics-1.17.0.c3addon 86 kB
    Nov 17, 2023
  • 3DObjectPhysics.c3p 7.2 MB
    Nov 17, 2023
Download Construct 3 3D Physics
Leave a comment