Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Vector4 Usage For Particle Positon and Velocity
#1
Hello again!

I was wondering if someone could shed some light on what the purpose/function of the 'w' value in the vector4 used for both position and velocity for particles?

For example:
Code:
// Calculate and apply spring force:
                    Vector4 position = solver.positions[pickArgs.particleIndex];
                    Vector4 velocity = solver.velocities[pickArgs.particleIndex];

Is it used like a quaternion? I didn't just want to assume/guess so I figured I'd ask. I checked out the definition ObiNativeVector4List but it's not really immediately obvious to me. I might just be developmentally challenged. Gran sonrisa

Thanks in advance.
Reply


Messages In This Thread
Vector4 Usage For Particle Positon and Velocity - by GrimCaplan - 06-02-2020, 11:33 PM