Function KinematicBody.setAxisLock
Locks or unlocks the specified axis
depending on the value of lock
. See also moveLockX
, moveLockY
and moveLockZ
.
void setAxisLock
(
const(long) axis,
const(bool) lock
) nothrow @nogc;