02-08-2024, 03:51 PM
Don't use a custom vector for this - use a custom float (there should be a 'position X' property available).
When you normalize a vector you're normalizing its length, which won't get rid of the negative values, leading to the unexpected result.
When you normalize a vector you're normalizing its length, which won't get rid of the negative values, leading to the unexpected result.