Verctor3 isnt updating with variables

var jumpPower = 8;
var rotationSpeed = 100;
var tuckSpeed = 1;
var runSet = 1;

private var speed : Vector3 = Vector3 (6, 0, 0) * runSet;    
private var jump  : Vector3 = Vector3 (0, 1, 0) * jumpPower;

Hi Guys,

In need of some help, for some reason my vector3s here arent taking the update values of runSet and jumpPower.

Do you have any idea why this is please?


[Edit by Berenger : Code Formatting]

speed and jump need to be recalculed in a function called every frame like Update. What you wrote, it’s called only once.