Skip to content

3D - r470, Rotation & Scaling of 3D models #8933

@ren1219

Description

@ren1219

Problem description

When using a GLB model from Blockbench, there are two issues that arise:

  1. Scale: If the model is too big on the X axis, it becomes small when spawned in contrast to other models made with said software.
  2. Rotation: The models do not rotate using pivot point, which makes some models "levitate" when inserted into projects at a -90 degrees X Rotation (upright).

Attach a .c3p

bugreport3drotation.zip

Steps to reproduce

  1. Open Blockbench.
  2. Create a simple square model.
  3. Extend that square on the X axis on both sides. (Issue 1, will appear small in the game compared to others)
  4. Extend that square on the Y axis on both sides, then rotate it from the X axis at a -90 angle. (Issue 2, won't appear on the ground if upright)

Observed result

  • The scaling becomes inconsistent if importing the model from Step 3; the model appears smaller than other models, and there are no hints or indications that can help to size everything equally regardless of the initial size due to the conflict between Height and Width (shared Construct 3 properties) and the Model Scale (3D Model parameters).

  • If importing the model from Step 4, the rotation will be done on an arbitrary point in the model instead of using its pivot point.

Expected result

  • For the scaling issue, the model's size should be consistent with the models around it.
  • For the rotation issue, the model should rotate based on its pivot point.

More details

If the scaling issue cannot be fixed, a solution to scale everything equally would be appreciated so as to keep our games looking consistent.
There is currently a disconnect between the object width and height, as I said, where if increased, the model will increase or decrease in size regardless of it's scale from its parameters.

Also to note that the Construct 3 bounding box (not the 3D one) doesn't match the size of the model!

If this issue seems irrelevant or easy to explain, I would also like to understand how it is possible for me to keep my models looking consistent in scale/size from one to another. Thank you for reading.

Affected browsers/platforms: All

First affected release: r470

System details

View details

PASTE HERE

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions