Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: Huska on February 20, 2022, 12:10:19 AM

Title: Vector 3 Average
Post by: Huska on February 20, 2022, 12:10:19 AM
     I could really use a modification of the Custom action "Vector3 Average" Instead of having to predefine the number of items in the array, I want to be able to set it as an Int variable so I can change it on the fly.  I think I'm explaining that right. 

I would be grateful for any help!
Title: Re: Vector 3 Average
Post by: artician on November 12, 2022, 05:57:29 PM
This is exactly what I came here looking for.  Any luck?
Title: Re: Vector 3 Average
Post by: drown on December 12, 2022, 11:51:58 AM
If you want to work with arrays in Playmaker in a controlled and usable manner you need to use ArrayMaker. It would allow you to simply average an existing vector3 array, no custom action or setting of an int needed.

https://hutonggames.fogbugz.com/?W715 (https://hutonggames.fogbugz.com/?W715)

It is an addon that contains exactly what you need (averages, sums etc.). Imho there is no other way to work with Arrays in PM.