Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: Circular dependency when two elements are set to face each other  (Read 6800 times)

Francesco

  • Full Member
  • ***
  • Posts: 182
    • View Profile
Circular dependency when two elements are set to face each other
« on: December 07, 2008, 11:13:14 am »

Anim8or disallows setting two object to face each other because it would create a circular dependency.

I think this should be changed somehow, because it creates a circular dependency only if they are in the same branch of a hierarchy tree.

In other words, if two objects aren't one parent of the other (whichever the level of "parent/child" you have), then those two objects can actually face each other, with no risk of circular dependency.

This isn't truly important, because this issue can be worked around by adding another object as a placeholder, but I wanted to point it out anyway, as it would be a minor improvement.
« Last Edit: December 07, 2008, 11:16:47 am by Francesco »
Logged

Francesco

  • Full Member
  • ***
  • Posts: 182
    • View Profile
Re: Circular dependency when two elements are set to face each other
« Reply #1 on: December 07, 2008, 01:12:33 pm »

Actually, I think that only the following cases should be forbidden due to circular reference:
- One object facing or having the same orientation of one of its offsprings (while the other way round should be fine);
- Two objects that rely on each other's orientation (I mean using the "other" option, not the "facing other", which should be fine)
Logged

VBSmiles

  • Full Member
  • ***
  • Posts: 203
    • View Profile
Re: Circular dependency when two elements are set to face each other
« Reply #2 on: December 08, 2008, 08:39:40 pm »

Although I personally haven't confirmed what you are stating. It is not needed. Just place a target inside or near one of the objects. This way you have an object facing the second, and the second facing a 3rd ( target )
Logged

Francesco

  • Full Member
  • ***
  • Posts: 182
    • View Profile
Re: Circular dependency when two elements are set to face each other
« Reply #3 on: December 09, 2008, 05:47:33 am »

Yes you're right VBsmiles, and although I already mentioned this workaround in my first post above I'm glad you took the time to drop in and suggest your solution. Everything is fine, Anim8or is fantastic as it is, this is really just a minor issue.
Logged