I hope you don’t mind if I submit three issues in one day, it is only because I am finding NodeCanvas to be a great product so I am forging ahead with it.
My main use is for it at this time is working with Mecanim, and I noticed that when I tried to use a “Set Mecanim Trigger” action, it was asking for a target position and weight instead of a trigger name. I tracked it down to the wrong action name in MecanimSetLookAt.cs, which was:
[Name("Set Mecanim Trigger")]
which I changed to
[Name("Set Mecanim Look At")]
I also changed the string variable in MecanimSetTrigger.cs to a BBString so that I could get the trigger string from the Blackboard. With these changes it was very easy and straightforward to set up a BT to control Mecanim.
Hey,
I don’t mind at all. On the contrary, they are very welcome 🙂
Nice catch there. That was silly of me somehow having the same name attribute.
Thanks!
By the way if you are interested in controling mecanim, you might find usefull the new SyncMecanim script which allows you to mecanim parameters to blackboard variables.
This is in the new version 1.5.5
If you do update, just make sure to redo the couple of fixes you’ve found out since the update was submited prior to your bug reports.
Cheers!
Join us on Discord: https://discord.gg/97q2Rjh
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.