playMaker

Author Topic: Vector3Normalized 1.1 BUG [FIXED]  (Read 2775 times)

Razieln64

  • Playmaker Newbie
  • *
  • Posts: 21
Vector3Normalized 1.1 BUG [FIXED]
« 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.
« Last Edit: October 06, 2011, 03:51:40 PM by alexchouls »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Vector3Normalized 1.1 BUG
« Reply #1 on: July 26, 2011, 01:10:33 AM »
Thanks! I've added your fix to the next update.