Page 1 of 1

Point a spot light 90 degrees to the direction of travel

Unread postPosted: Fri Apr 10, 2020 4:56 pm
by mikeadams2k
I can point a 'spot light' forward or reverse, using the blueprint matrix, but I can't get it to face perpendicular. Can anyone 'point' me in the right direction? Thanks.

Re: Point a spot light 90 degrees to the direction of travel

Unread postPosted: Fri Apr 10, 2020 6:04 pm
by jlms48
You should find some pointers in this tutorial.

http://railworksamerica.com/index.php/l ... t-position

An online matrix calculator like this will come in handy I suspect

https://www.mathsisfun.com/algebra/matr ... lator.html

Hope this helps.

Re: Point a spot light 90 degrees to the direction of travel

Unread postPosted: Fri Apr 10, 2020 6:56 pm
by mikeadams2k
That did the trick! Thanks for getting me headed in 'the right direction'!