Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: wetcircuit on November 29, 2021, 09:08:03 AM
-
I am reading and setting a bunch of quaternions every frame….
While I was experimenting, I was using an independent vector3 for each quaternion read, and for each quaternion set… it was one live state with >100 vector3, but it ran pretty fast.
Then I cleaned up my Playmaker graph to use arrays and LOOP STATE instead. The states are much cleaner now (much easier to edit) but I have lost significant framerate….
Are arrays slower than vector3…, like a LOT slower? (I am also performing more calculations on the quaternions between getting and setting, than I was before, so I expected slower, but this is a LOT slower now)
-
Hi.
for the 'loop' it needs to do it in sequence.
and your less clean version was probably doing it parallel.
But are you using build in array or array maker?
it might be that Array List (array maker) will work faster.
have you tried in a build
-
Ahh, this is all in Editor… :(
I will try Array List…
and also finish out the 'parallel' version to see how they compare….
Thank you for suggestions!