linearFactor property
Vector3
linearFactor
getter/setter pair
Use this property to limit the motion along any world axis. (1,1,1) will allow motion along all axes while (0,0,0) allows none.
Implementation
Vector3 linearFactor = Vector3(1,1,1);