0
$\begingroup$

I animated a plane moving continuously in the y axis. It has a curve modifier applied, and follows the curving path. A change in the planes x location is not reflected in the plane's object properties. I would like to use the perceived change in x location as an object input for animation nodes. Is there any way to see what the "absolute" location of the mesh is, where I am actually seeing it in space in object mode?

enter image description here

$\endgroup$
  • $\begingroup$ Many experienced Blender Users may temporarily feel such a need which is replaced by a solution to the higher level needs. What is your higher level need? $\endgroup$ – atomicbezierslinger Nov 30 '18 at 3:30
  • $\begingroup$ What do you really want to do with this information? .......... The UI displays location before it is affected by other modifiers. It is unlikely you will be able to easily change the standard UI and probably unwise. If you program in Python you may be able to display the final location of any element either in the [new] UI element or the text console, or a file such as an export. Most people do not feel a [permanent] need to change this established display of Blender. I doubt you feel the need just out of curiosity. What do you want to do with this information? $\endgroup$ – atomicbezierslinger Nov 30 '18 at 3:39
  • $\begingroup$ The modifiers and constraints and other features of Blender should reduce your need to feel the standard display should be changed. $\endgroup$ – atomicbezierslinger Nov 30 '18 at 3:41
  • $\begingroup$ I would like the perceived viewport location to drive transforms on another object, like scale. So as I perceive that is moving in the x-direction, object 2's y scale is changed. The ultimate goal is to animate objects which respond to the curve in a dynamic way. The undulation of the curve drives other transforms to create a nice effect. I could do it by hand but the goal is to do is procedurally with svercock and animation nodes. $\endgroup$ – ANimator120 Nov 30 '18 at 3:44
  • $\begingroup$ I might look into using the wave modifier to create the desired effect. While the amplitude of the curves can not be drawn with the curve tool, it can be controlled and animated to create a similar effect. Additionally it could generate the curving movement infinitely and randomly. $\endgroup$ – ANimator120 Nov 30 '18 at 3:52
3
$\begingroup$

If you are using Animation Nodes, try to minimize your use of modifiers and constraints, because transferring data between blender and AN is not optimal. In this case, a simple spline evaluation or spline projection will give you what you want:

Node Tree

$\endgroup$
  • $\begingroup$ What is that AN with 2.8? $\endgroup$ – Jorge Losilla Martínez Dec 11 '18 at 9:55
  • 1
    $\begingroup$ @JorgeLosillaMartínez Yes. Porting started a while ago. It is practically finished now. As far as I know, particle system nodes are the only part that doesn't work yet. There is a bug report in the tracker, so as soon as it gets attention, we will implement a fix in AN and it will be ready. $\endgroup$ – Omar Emara Dec 11 '18 at 10:02
  • $\begingroup$ That is more than great news!!! $\endgroup$ – Jorge Losilla Martínez Dec 11 '18 at 10:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.