MAXON CINEMA 4D: Cinema 4D Forum Adobe After Effects Forum

Xpresso not adding the correct values, always stuck at 100%

COW Forums : Maxon Cinema 4D

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
David CabestanyXpresso not adding the correct values, always stuck at 100%
by on Nov 6, 2014 at 10:03:27 pm

I have two different Align to spline tags and I need the second one to be always 5% ahead of the first one, so I made a simple xpresso rig, in which I take the position of the first one add 5 using a math node and then send the output to the position of the second one. But instead of being 45% and 50% for example, the second one is stuck at 100%

Anyone knows why?




Return to posts index

Brian JonesRe: Xpresso not adding the correct values, always stuck at 100%
by on Nov 6, 2014 at 10:57:59 pm

position (probably anything in %) is passed on as a decimal from 0 - 1, not as a whole number. Simplest thing to do is change your math add to .05


Return to posts index

Emir BojorquezRe: Xpresso not adding the correct values, always stuck at 100%
by on Nov 6, 2014 at 11:00:36 pm

You are using a real number 5 not the real number of a 5%, in other words 5% is equal to 0.05, you need to conver from porcentage to real number.

Good Luck

Imagination is the best tool...



Return to posts index


David CabestanyRe: Xpresso not adding the correct values, always stuck at 100%
by on Nov 7, 2014 at 4:25:07 pm

Thanks a lot guys, that was it.

Best,
David.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]