Hello
I did a few lines of script for randomizing parked cars
"(
OBS = getCurrentSelection()
for OB in OBS do
(
a = #(0.0 , 180)
b = ( random 1 2)
--print OB as string
OBGZ = OB.rotation.z
NOBGZ = OBGZ + a[b]
OB.rotation.z = NOBGZ
)
)"
But the cars don't rotate around each car's pivot.
(I turned on "use pivot center" and "world")
Can somebody help ? Thanks :-)
br0t · 2011-04-18