Highlighted

What is the best way to get the anchor point to the center of a line in Video Copilot for Saber?

New Here ,
Jul 06, 2020

Copy link to clipboard

Copied

I'm trying to make this saber spin from the center while constantly having the anchor point between the two points (Core Start and Core End)

capture-20200706-150639.png

I prefer having to run an expression to do this but if there's another way please let me know!

Thanks in advanced!

 

PS: I'm using this with this current expression:

x1 = effect("Saber")("Core Start")[0]
x2 = effect("Saber")("Core Start")[1]

y1 = effect("Saber")("Core End")[0]
y2 = effect("Saber")("Core End")[1]

transform.anchorPoint([x1/y1], [x2/y2])

With error: "undefined value used in expression (could be an out of range array subscript )"

 

TOPICS
Error or problem, Expressions, How to

Views

63

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

What is the best way to get the anchor point to the center of a line in Video Copilot for Saber?

New Here ,
Jul 06, 2020

Copy link to clipboard

Copied

I'm trying to make this saber spin from the center while constantly having the anchor point between the two points (Core Start and Core End)

capture-20200706-150639.png

I prefer having to run an expression to do this but if there's another way please let me know!

Thanks in advanced!

 

PS: I'm using this with this current expression:

x1 = effect("Saber")("Core Start")[0]
x2 = effect("Saber")("Core Start")[1]

y1 = effect("Saber")("Core End")[0]
y2 = effect("Saber")("Core End")[1]

transform.anchorPoint([x1/y1], [x2/y2])

With error: "undefined value used in expression (could be an out of range array subscript )"

 

TOPICS
Error or problem, Expressions, How to

Views

64

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 06, 2020 0
Most Valuable Participant ,
Jul 06, 2020

Copy link to clipboard

Copied

There is no need to address the property stream name. Those are read-only. Simply writing [x1/y1,x2/y2] would be enough.

 

Mylenium

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 06, 2020 1
New Here ,
Jul 07, 2020

Copy link to clipboard

Copied

So what do I need to edit in my expression?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 07, 2020 0