Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: Razieln64 on July 23, 2011, 03:49:51 PM

Title: Vector3Normalized 1.1 BUG [FIXED]
Post by: Razieln64 on July 23, 2011, 03:49:51 PM
I've just checked and the normalization of a vector does not take place. The Vector3Normalize action doesn't normalize a vector as it should.

I've replaced the faulty line with an assignation an now it works fine.

This works fine:
Code: [Select]
vector3Variable.Value = vector3Variable.Value.normalized;
However this does not :
Code: [Select]
vector3Variable.Value.Normalize();
You can validate this by showing the vector's value with a Debug.Log() call. If the components are over 1 then it doesn't normalize.
Title: Re: Vector3Normalized 1.1 BUG
Post by: Alex Chouls on July 26, 2011, 01:10:33 AM
Thanks! I've added your fix to the next update.