Forest Pack > Forest Pro (*)

Look-At target Trouble with Maxscript

(1/1)

TATMathieu:
I want to Update a scene with lot of existing forest and crontrol them with a look-at Target node (camera panel).

when i do this action, the listener report :
$Forest001.lookat = $Teapot001

but when I write it the result is absolutly different !
It's changing the controller of my teapot with a lookat controller !



How can I use a script to edit the look at target of my forest ?

Michal Karmazín:
Hi,

You should use the $.lookattarget property. I hope that helps.

Best regards,

TATMathieu:
Thank for the information. It's work but my other question is why the maxscript listener wrote $.lookat and not $.lookattarget ?

Michal Karmazín:
Hi,

Might be, you’ve grabbed it with some older Forest Pack version? Since the FP7 we renamed it to $.lookattarget to avoid duplications.

Best regards,

Navigation

[0] Message Index

Go to full version