3d Object Rotation

This forum is currently in read-only mode.
From the Asset Store
112 High-Quality destruction sounds for videogames
  • Ive spent last 15 minutes digging in forums but i cant find any explanation.

    My question is: is it possible to rotate 3d object on Z axis? think: rotating planet.

    this is quite crusial for me. i either figure out how to rotate an 3d object or ill be forced to make a animated sprite... which is a bad choice thinking how many frames itll need to make the rotation feel smoth.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • You have pitch, roll, or yaw, not sure what you mean by z, since that's the distance from the camera.

    + System: Always (every tick)

    -> 3DObject: Set roll to 3DObject.Roll+1 degrees

  • <img src="http://upload.wikimedia.org/wikipedia/commons/6/6b/Planet_Terrestrial_Earth_Animated.gif">


  • Any combination of pitch roll or yaw will do that.

    Experiment till you get the speed right.

  • Any combination of pitch roll or yaw will do that.

    Experiment till you get the speed right.

    well, i tried. and they didnt. from unknown reason Construct treats my model like a 2d sprite when pitching and yawing. so yes, it rotates it like a 2d sprite

  • You have to set the depth of 3d object properly. Imagine it like a cube - by default it is thin, so it looks like a 2D sprite when it rotates. Set the depth to be equal to width and it'll be like equilateral cube

  • aaah thanks guys. i knew the solution must be be somewhere in front of my nose but i couldnt see it.

    Wiki dont even have "3D object" page and typing "3D object" in forum search engine told me to GTFO because its too common.

    thank you. now its works perfectly


    well, almost. Emmm.... anybody knows why the object migh not be visible in editor but BE visible ingame?

  • It seems not all 3d modelers export to the same scale. If the model is so big that it goes past the camera, you might just see the inside of the model.

    Check the import scale, and the eye distance.... you can go below 1 on import scale.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)