self = physics.Vect:setx(x)
Parameter |
Type |
Description |
---|---|---|
self |
in physics.Vect |
The vector to modify |
x |
in number |
The new value of the x component of the vector |
self |
out physics.Vect |
The input vector is returned as the output |
Changes the value of the x component of self. Returns self.
Introduced in platform.apiLevel = '2.0'