Code Monkey home page Code Monkey logo

Comments (7)

addmix avatar addmix commented on August 14, 2024

I could see a use case for only rotating along the Y axis, keeping it as an option would be greatly appreciated

from scatter.

jasonhowelldev avatar jasonhowelldev commented on August 14, 2024

I would love the option to toggle rotation for each axis separately.

from scatter.

addmix avatar addmix commented on August 14, 2024

I would love the option to toggle rotation for each axis separately.

I can work on implementing that functionality tomorrow.

from scatter.

HungryProton avatar HungryProton commented on August 14, 2024

I can work on implementing that functionality tomorrow.

I have a branch where I started this feature but never finished it. I can push it if you want a starting point, but I don't remember why I gave up midway.

from scatter.

HungryProton avatar HungryProton commented on August 14, 2024

I pushed what I started on the branch issue/13

There are three options:

  • align_y_axis rotates the object, so the forward vector faces the curve direction.
  • align_x_axis should take care of the up and down rotation but this doesn't work at all.
  • align_z_axis takes care of the tilt by rotating around the Z axis but this is not supported as there's no way to change the curve's tilt from the editor anyway.

By the way, the fence object in the example scene is aligned on its x-axis so by default the alignment will be wrong. That's easy to solve with the Add Offset modifier by adding a local 90° rotation. This breaks as soon as tilt is introduced, so I wonder if we shouldn't simply ignore that tilt exists, or find another solution.

from scatter.

addmix avatar addmix commented on August 14, 2024

fixed in #28

from scatter.

jasonhowelldev avatar jasonhowelldev commented on August 14, 2024

I just tried the fix and it appears to be working correctly to me. Thanks for working on this!

from scatter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.