Page 1 of 1

Error in distributing lights

Posted: Thu Dec 09, 2021 11:25 am
by sissi961
Good morning, I had this error (shown on the image) when I tried to distribute lights random. I attach also the code.
This is the configuration of the arena:

Code: Select all

<arena size="6, 3, 0" center="0,0,0" positional_grid_size="8,8,1"> <floor id="f" source="image" path="floor.PNG" pixels_per_meter="100"/> <!-- 4 walls to delimit arena --> <box id="bn" size="0.05, 3, 0.2" movable="false"> <body position="3, 0, 0" orientation="0,0,0" /> </box> <box id="bs" size="0.05, 3, 0.2" movable="false"> <body position="-3,0,0" orientation="0,0,0" /> </box> <box id="be" size="6, 0.05, 0.2" movable="false"> <body position="0,-1.49,0" orientation="0,0,0" /> </box> <box id="bw" size="6, 0.05, 0.2" movable="false"> <body position="0,1.49,0" orientation="0,0,0" /> </box>

Re: Error in distributing lights

Posted: Thu Dec 09, 2021 1:12 pm
by pincy
The arena has a height of zero, and the orientation should be distributed using a constant.