What might be doing wrong here
As soon as I press W key ,object disappears!!
Hi @Nofil_khan!
When you execute your function you need to send dt with it.
dt
this.getinMotion(dt);