Oliver Hilbert

revilo3d

About Me

Expertise
VFX Artist
Location
Canada

VFX Trainer

Connect

Recent Forum Posts

$CEX Not working on Copy SOP May 20, 2019, 6:54 p.m.

Thanks, good to know and will do.

Can you explain why that does not work? I'm following a tutorial where is certainly used to.

Thanks,
Ollie

$CEX Not working on Copy SOP May 16, 2019, 9:11 p.m.

Hi,

So not sure if this is a bug or a limitation. I'm just trying to use $CEX,$CEY,$CEZ to center the translate pivot prior to doing a transform. This works perfectly fine with a transform SOP, but a Copy and Transform SOP does not.

Is this expected?

H17.5.229 - Linux.

Thanks,
Ollie

Parameter driven anim curve Aug. 18, 2018, 1:38 a.m.

Ahh Thank you.

Indeed it doesn't directly solve my issue but think I could use it to make it work. Was a bit perplexed (still am a bit) at the modulo operator.

I've always know it to working in the following way (just through basic python learning)
5%4 = 1. 4 fits 1x into 5 leaving 1 remainder

In your example you are leveraging non divisible to control the state right?
4%5 = 4?? 5 does not fit into 4 - so it returns the original 4 as the remainder? Is that how it works?
5%5 = 0
6%5 = 1 (we repeat…)

EDIT: Got it working by the way - just bind the rotation to attr and call it in the light rotate parameter!
point(“/obj/geo1/rotator/”, 0, “rotation”, 0)

Cheers,
Ollie