UFO not working when using simple code

I have my code for the UFO in Geometry Lab but for some reason, it doesn’t work, here is the code:


Why does this not work?!?!?!

Does anyone have any clue why this is broken?

There is probably some other code interfering with this code, by just taking a glance at it.

Impulse applies a physical force to the object, meaning the result is affected by your current velocity.

You should be setting velocity directly instead.

Like this? because it didn’t work.

That should work fine, it’s the cube code not being disabled that’s the problem.

So your UFO is still acting base on Cube rules.