This is just a file I made after finding out something weird was happening with my mouse over.
I’m currently making a shmup and moving the player ship is easyer with the mouse (to me). But I ran into this hiccup
We’re rebuilding http://catnipgames.nl/bulletcrave/ from scratch in the BGE as a test. Using the shipyard assets and figuring out how to nicely build up and linking files for future use across many games.
It is a typical mistake with mouse over. The sensor detects the object you move under the mouse cursor. This usually leads to a movements towards the camera.
Be aware mouse over needs something to be over.
Options:
A) make the object to be placed under the mouse cursor no-collision
B) move the object with an offset (B1: place the center outside the mesh B2: add the offset via Python)