I'm trying to add the ability to rotate the vehicles after they're loaded. Obviously my CGA knowledge is limited and everything I've tried doesn't do anything. Any thoughts?
import LumenRT: "/LumenRT/rules/ImmersiveNature.cga"
RandomCar-->
LumenRT.Vehicle(LumenRT.GetRandomCar)
Scott
Solved! Go to Solution.
Writing this blind so it might not work, but I'm pretty sure it should:
@Range(0,360)
attr r_y = 0
RandomCar -->
rotate(abs, object, 0,r_y, 0)
center(xz)
LumenRT.Vehicle(LumenRT.GetRandomCar)
(Who removed the code formatting option? )
Writing this blind so it might not work, but I'm pretty sure it should:
@Range(0,360)
attr r_y = 0
RandomCar -->
rotate(abs, object, 0,r_y, 0)
center(xz)
LumenRT.Vehicle(LumenRT.GetRandomCar)
(Who removed the code formatting option? )
That did it. Thank you.
Scott