Rick mentioned that there are 2 ways for the lasers not to fall down from gravity pull… one is to leave the Rigidbody2D component of the laser Prefab’s Body Type as Dynamic, but set Gravity Scale to 0 (instead of the default 1). Another method is to set Body Type to Kinematic.
I followed the first method. Then decided to have a different picture for the laser. I dropped in a new prefab for the laser and decided to toy around with Body Type set to Kinematic. It works without the pull of gravity… but I get this error message:
“Should not be capturing when there is a hotcontrol UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)”
Maybe there’s something else I need to set? What is it?
[If I set the Body Type to Dynamic and Gravity Scale to 0, that error goes away. So it’s something to do with Kinematic setting]
I am using the latest LTS of Unity 2020.3.181f1