Notifications
Clear all

[Closed] light.castshadows ?

Could it be that $Light01.castshadows doesn’t work right? I always get true (even if i turn it off).
When i set .castshadows = false it always returns false, but it doesn’t set the checkbox “Shadows” in my light.

Any hint?

3 Replies
1 Reply
(@equinoxx)
Joined: 11 months ago

Posts: 0

$Light01.castshadows is the shadowcasting property of the object in this case [the one you can turn of in the properties of the object.
I hope that explains why it didn’t work.

rather that just getting a solution provided, I’d rather learn what it is that I did wrong that provides much faster learning

Use $light01.baseobject.castshadows = false

Khye

1 Reply
(@kpalazov)
Joined: 11 months ago

Posts: 0

Thankyou SOOO much!! WorX