Toggle navigation
Login
Register
Itoo Software Forum
»
Forest Pack
»
Forest Pro (*)
»
Look-At target Trouble with Maxscript
« previous
next »
Print
Pages: [
1
]
Author
Topic: Look-At target Trouble with Maxscript (Read 986 times)
TATMathieu
Newbie
Posts: 8
Look-At target Trouble with Maxscript
«
on:
November 08, 2022, 11:03:51 AM »
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 ?
Logged
Michal Karmazín
iToo Software
Hero Member
Posts: 2477
Re: Look-At target Trouble with Maxscript
«
Reply #1 on:
November 08, 2022, 11:39:46 AM »
Hi,
You should use the
$.lookattarget
property. I hope that helps.
Best regards,
Logged
TATMathieu
Newbie
Posts: 8
Re: Look-At target Trouble with Maxscript
«
Reply #2 on:
November 08, 2022, 12:42:35 PM »
Thank for the information. It's work but my other question is why the maxscript listener wrote $.lookat and not $.lookattarget ?
Logged
Michal Karmazín
iToo Software
Hero Member
Posts: 2477
Re: Look-At target Trouble with Maxscript
«
Reply #3 on:
November 09, 2022, 09:47:28 AM »
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,
Logged
Print
Pages: [
1
]
« previous
next »
Itoo Software Forum
»
Forest Pack
»
Forest Pro (*)
»
Look-At target Trouble with Maxscript
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length